Email

Set up SPF, DKIM and DMARC at IONOS

In short. At IONOS, SPF is added from your domain's DNS settings with one option, DKIM is on by default when you use IONOS name servers, and DMARC is a TXT record you add yourself. Check the three, then tighten the DMARC policy only after reading the reports.

SPF lists the servers allowed to send for your domain, DKIM signs each message, and DMARC tells receivers what to do with mail that fails both. IONOS documents all three in its help center; the labels below follow its French help and may be worded slightly differently in English.

Last verified: November 26, 2026, against IONOS's official help (checked November 13, 2026).

Before you start

In your customer area, open the Actions menu (gear icon) on your domain's line and choose DNS. If your domain uses name servers other than IONOS's, make the changes at the provider that manages the DNS zone. List every service that sends with your domain: one SPF record must cover them all.

1. SPF

Select Add record, then IONOS SPF (TXT), then Save. IONOS creates the record for its mail servers, and says it completes an existing SPF automatically. If your DNS zone is elsewhere, publish a TXT record on the domain with:

v=spf1 include:_spf-eu.ionos.com ~all

To add another service, edit the existing record (host name @) and add its include: before ~all, for example v=spf1 include:_spf-eu.ionos.com include:_spf.google.com ~all.

2. DKIM

IONOS enables DKIM by default when the domain uses its name servers: no action needed. If your DNS zone is elsewhere, create at that provider the three CNAME records IONOS shows: s1-ionos._domainkey, s2-ionos._domainkey and a third one specific to your account.

3. DMARC

Select Add record, type TXT, host name _dmarc, and the value below. IONOS creates the _dmarc.yourdomain.com sub-domain itself.

v=DMARC1; p=none; rua=mailto:[email protected]

IONOS notes the change is effective at once on its side, and within one hour at most elsewhere. IONOS's first example uses p=reject: that is the target, not the starting point. The French version of its help also writes p=rejet and p=quarantaine in two examples; only none, quarantine and reject are valid values.

Then tighten DMARC step by step

Start with p=none and read the reports for one to two weeks. Once every legitimate sender passes, move to p=quarantine, then to p=reject after several clean weeks. Never publish quarantine or reject straight away: one forgotten sender, such as an invoicing tool, would have its mail sent to spam or refused. Google recommends the same staged rollout.

Common mistakes

  • Two SPF records on the same domain: SPF fails with an error. Merge them into one.
  • Two DMARC records on _dmarc: receivers ignore both.
  • More than 10 DNS lookups in SPF (each include: costs at least one; RFC 7208): SPF fails.
  • Typing the full name in the host field: _dmarc.yourdomain.com can become _dmarc.yourdomain.com.yourdomain.com. Enter only _dmarc, and check the result in the list.
  • Forgetting mailto: in the rua address.
  • Forgetting other senders (newsletter, invoicing, online shop): each must pass SPF or sign with DKIM for your domain.

Check that it works

Wait for the change to be visible (minutes to hours, sometimes up to 48 hours), then:

nslookup -type=TXT yourdomain.com
nslookup -type=TXT _dmarc.yourdomain.com

You should see one line starting with v=spf1 and one line starting with v=DMARC1. Our free tools read both and the DKIM key: use the SPF, DKIM and DMARC checkers linked above. For a full test, send an email to a Gmail address, open it, choose Show original: SPF, DKIM and DMARC should read PASS.

Free tool. SPF checker · DKIM checker · DMARC checker

Check your domain for free. AttackScout reads your public SPF, DKIM and DMARC records and tells you what to change. Run the free check

Frequently asked questions

Do I need all three at IONOS?

Gmail and Microsoft require SPF, DKIM and DMARC from senders of more than 5,000 messages a day, and a complete setup helps at every volume. DMARC only passes when SPF or DKIM passes with your own domain, so set SPF and DKIM first.

How long before it works?

Providers announce from a few minutes to 48 hours for DNS changes to be visible everywhere. Test after a short wait.

Should I start with p=reject?

No. Start with p=none, read the reports, then tighten.

Sources

Accessed on 11/26/2026.