All articles
DeliverabilityNov 25, 20268 min read

How to Set Up SPF, DKIM and DMARC: Google Workspace, Microsoft 365, IONOS, STRATO and ALL-INKL.COM (2026)

Three DNS records decide whether your email reaches the inbox: SPF, DKIM and DMARC. Here are the exact values and steps for the providers most companies in Germany run on, Google Workspace, Microsoft 365, IONOS, STRATO and ALL-INKL.COM, checked against each provider's help pages in November 2026: the three IONOS DKIM records for external DNS, the DMARC defaults STRATO and ALL-INKL.COM set for you, the mistakes we see most often, and a free check to confirm everything works.

Kenneth Kather · Founder & CEO, KNK Outbound

Key takeaways

  • Every sending domain needs exactly one SPF record, a DKIM key published in DNS and exactly one DMARC record; Gmail, Yahoo and Microsoft now expect all three from anyone sending in volume.
  • At IONOS, SPF and DKIM are set automatically while the domain uses IONOS name servers; with the DNS elsewhere you add include:_spf-eu.ionos.com to SPF and three DKIM CNAMEs, s1-ionos, s2-ionos and s42582890 under _domainkey, each pointing to the matching host under dkim.ionos.com.
  • STRATO signs all mail sent through smtp.strato.de with DKIM and activates its own DMARC rule by default, and ALL-INKL.COM lists a default entry v=DMARC1; p=none;, so at both you change the existing rule instead of adding a second DMARC record.
  • Start DMARC with p=none and a reporting address, read the reports for a few weeks, then move to quarantine; jumping straight to reject can block your own legitimate email.

Updated 25 November 2026: new sections on DKIM at IONOS and on the DMARC defaults at STRATO and ALL-INKL.COM. All values checked against the providers' own help pages on that day.

The short answer

To set up SPF, DKIM and DMARC, you publish three DNS records for your domain: an SPF record listing who may send for you, a DKIM key that lets receivers verify your signature, and a DMARC record telling them what to do with mail that fails. At IONOS, which many still know as 1&1, SPF and DKIM are set automatically as long as the domain uses IONOS name servers. If your DNS runs elsewhere, for example at Cloudflare, you add the SPF include _spf-eu.ionos.com and three DKIM CNAME records yourself. KNK Outbound sets up these records on every sending domain it runs for clients. These are the values for Google Workspace, Microsoft 365 and the three German hosters IONOS, STRATO and ALL-INKL.COM:

Google Workspace
SPF (TXT on the domain)
v=spf1 include:_spf.google.com ~all
DKIM
TXT at google._domainkey, generated in the Admin console
DMARC out of the box
None, you add it at your DNS host
Microsoft 365
SPF (TXT on the domain)
v=spf1 include:spf.protection.outlook.com -all
DKIM
Two CNAMEs at selector1._domainkey and selector2._domainkey, values from the Defender portal
DMARC out of the box
None, you add it at your DNS host
IONOS mail
SPF (TXT on the domain)
Automatic with IONOS name servers, otherwise v=spf1 include:_spf-eu.ionos.com ~all
DKIM
Automatic with IONOS name servers, otherwise three CNAMEs (see below)
DMARC out of the box
In our DNS data usually p=none without reports
STRATO mail
SPF (TXT on the domain)
Often missing; where set, usually redirect=_spf.strato.com or include:_spf.strato.com
DKIM
STRATO signs all mail sent through smtp.strato.de
DMARC out of the box
STRATO's own DMARC rule, active by default
ALL-INKL.COM (KAS)
SPF (TXT on the domain)
v=spf1 a mx include:spf.kasserver.com ~all
DKIM
Created by default for KAS mail
DMARC out of the box
v=DMARC1; p=none;

The source for every cell is linked in the sections below. Afterwards, run our free email deliverability check to confirm all three records are live. Providers change details over time, so if your admin panel shows a different value, use what it shows.

Before you start: three rules

  1. One SPF record per domain. Two SPF records make the check fail every time. If you send through several services, put all of them into one record, for example v=spf1 include:_spf.google.com include:servers.example.com ~all.
  2. At most ten DNS lookups in SPF. Every include, a and mx counts, including the ones nested inside the includes. Above ten, SPF returns a permanent error.
  3. Never send cold email from your main domain. Outreach belongs on separate sending domains with their own mailboxes, warmed up first. Each of those domains needs its own SPF, DKIM and DMARC. Our guide to cold email infrastructure covers that setup.

You make all DNS changes where your domain is managed, usually your registrar or host, not inside Google or Microsoft.

Step 1: SPF

Google Workspace. Add a TXT record on the domain with v=spf1 include:_spf.google.com ~all. Google recommends ~all.

Microsoft 365. Add a TXT record with v=spf1 include:spf.protection.outlook.com -all. Microsoft recommends -all, because with DKIM and DMARC in place it lets DMARC act on mail that fails SPF. If you also send from an on-premises server, add its address with ip4: in the same record.

IONOS. If the domain uses IONOS name servers, IONOS SPF is switched on by default. Should it be missing, add it in the IONOS account under Domain & SSL, DNS, Add record, and choose the record type IONOS SPF (TXT), not the plain SPF (TXT). If an SPF record for another mail service already exists, IONOS adds its entry to that record. If the DNS zone sits with another provider, create a TXT record there with v=spf1 include:_spf-eu.ionos.com ~all. Both cases are described on IONOS's SPF help page, which also says changes can take up to 48 hours.

STRATO. In our sample of 98 STRATO domains, 42 had no SPF record at all (our hoster data). Mail sent through STRATO still passes DMARC thanks to its DKIM signature, but every other sender in your name needs SPF. Domains that have a record mostly use redirect=_spf.strato.com or include:_spf.strato.com. Take the include form if other services send for you, so you can list them in the same record. TXT records live in the STRATO login under domain management, the gear icon next to the domain, DNS, TXT and CNAME records.

ALL-INKL.COM. ALL-INKL.COM's SPF tutorial gives v=spf1 a mx include:spf.kasserver.com ~all for its mail servers. You find the entry in the KAS under Tools, DNS settings. Edit the existing entry instead of adding a new one, because a domain may only have one SPF record.

Step 2: DKIM

Google Workspace. In the Admin console go to Apps, Google Workspace, Gmail, then Authenticate email, and generate a new record. Keep the default selector google and choose a 2048-bit key unless your DNS host only supports 1024. Publish the value as a TXT record at google._domainkey. Then wait: Google says DKIM can take up to 48 hours to start working after you add the record. Only after the record is live, go back and click Start authentication. If you only just activated Gmail, the key can take 24 to 72 hours to appear in the console.

Microsoft 365. In the Microsoft Defender portal, go to Email and collaboration, Policies and rules, Threat policies, Email authentication settings, and open the DKIM tab. Select your domain. Microsoft shows you two CNAME records: selector1._domainkey and selector2._domainkey, each pointing to a value Microsoft generates for your tenant. In the current format described in Microsoft's DKIM documentation (updated July 2026), the targets look like selector1-yourdomain-com._domainkey.yourtenant.n-v1.dkim.mail.microsoft, where yourtenant is the prefix of your onmicrosoft.com domain. Copy the values exactly as the portal shows them, add both CNAMEs at your DNS host, then switch DKIM signing on in the portal.

The Microsoft case step by step, with the German portal labels, the status CnameMissing and the 2048-bit rotation, is in Microsoft 365 DKIM setup.

IONOS. Automatic with IONOS name servers, three CNAME records otherwise. The next section has the exact values. The Google Workspace and Microsoft 365 cases on an IONOS domain are walked through step by step in DKIM at IONOS.

STRATO. STRATO says it has signed all outgoing mail sent through its servers (smtp.strato.de) with DKIM for years (STRATO FAQ on DKIM). You only add your own DKIM record when an external service, such as a newsletter tool, asks for one. That service gives you the selector and the value, and you enter them in the STRATO login under DNS, TXT and CNAME records.

ALL-INKL.COM. According to ALL-INKL.COM's DMARC tutorial, the DKIM entries are created by default for KAS mail. If you send through an external mail server, the DKIM tutorial has you add that server's public key in the KAS under Tools, DNS settings: the name is your selector followed by ._domainkey, the type TXT (DKIM), and the data starts with v=DKIM1; p=. The field takes up to 512 characters, enough for a 2048-bit key.

DKIM at IONOS: the three CNAME records

If your domain uses IONOS name servers, which is the default, DKIM is already active and you do nothing, according to IONOS's DKIM help page. If the DNS zone is managed by another provider, or someone deleted the entries, you create three CNAME records, as listed on that page in November 2026:

s1-ionos._domainkey
Points to
s1.dkim.ionos.com
TTL
1 hour
s2-ionos._domainkey
Points to
s2.dkim.ionos.com
TTL
1 hour
s42582890._domainkey
Points to
s42582890.dkim.ionos.com
TTL
1 hour
  1. Open the DNS settings where the zone actually lives: in the IONOS account, or at your external DNS provider.
  2. Add a record of type CNAME with the first host name and target from the table.
  3. Keep the TTL at one hour and save.
  4. Repeat for the other two records.
  5. For a subdomain that sends mail, use the same targets with host names such as s1-ionos._domainkey.newsletter.

The external case is where it goes wrong. In a sample we took in November 2026, 139 of 161 IONOS-hosted domains with IONOS name servers had the s1-ionos key, against 8 of 17 where the DNS ran elsewhere (details). To check yours, query the CNAME:

nslookup -type=CNAME s1-ionos._domainkey.yourdomain.com

The answer should name s1.dkim.ionos.com. Three mistakes we see:

  • The domain typed twice. Many DNS panels append your domain to the host name automatically. If you enter s1-ionos._domainkey.yourdomain.com there, the record ends up at s1-ionos._domainkey.yourdomain.com.yourdomain.com. Enter only the part before your domain.
  • Only one of the three records. Add the full set as IONOS lists it, not just s1-ionos.
  • IONOS keys for Microsoft 365 mailboxes. If the domain is registered at IONOS but the mailboxes run on Microsoft 365, Microsoft signs the mail. You then need Microsoft's two selector CNAMEs from the Defender portal, not the IONOS ones.

Step 3: DMARC

Add a TXT record at _dmarc on your domain:

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

At IONOS you create it in the account under the domain's DNS settings with Add record, type TXT and the host name _dmarc; IONOS appends the domain itself (IONOS DMARC help). At STRATO and ALL-INKL.COM a rule already exists, see the next section.

p=none means "watch, do not block yet". The reports sent to the rua address show which services send in your name and whether they pass SPF and DKIM. After two to four weeks without surprises, move to p=quarantine, and later to p=reject if you want full protection against spoofing. This is exactly where most companies stall: in our DMARC adoption statistics covering 23,000+ company domains in Germany, Austria and Switzerland, a third sit on p=none and only about 40% actually enforce DMARC. How to get from p=none to reject without blocking your own mail is explained step by step in our guide to moving DMARC to p=reject, and what the daily reports tell you in how to read DMARC reports.

Why it matters now: Gmail and Yahoo have required SPF, DKIM and DMARC from bulk senders since February 2024, and Microsoft has enforced similar rules for Outlook.com since May 2025. We explain what these sender requirements mean in practice in our article on email sender requirements.

DMARC at ALL-INKL.COM and STRATO: change the default, do not add a second record

Both hosters set a DMARC rule for you. That changes the move: you edit or replace their rule instead of creating one from scratch. A second record next to the default is worse than none, because under RFC 7489, section 6.6.3 a receiver that finds more than one DMARC record does not apply DMARC at all.

ALL-INKL.COM. Its DMARC tutorial lists v=DMARC1; p=none; as the default entry. In the KAS under Tools, DNS settings, click Edit on that entry: name _dmarc, type TXT, priority empty, and your policy as the value, for example v=DMARC1; p=none; rua=mailto:[email protected]. Do not copy the tutorial's example with p=reject and strict alignment before you have read a single report. If the reports go to an address on another domain, that domain has to authorise it with a TXT record named yourdomain.com._report._dmarc.otherdomain.com and the value v=DMARC1, as defined in RFC 7489, section 7.1. Do not assume the default is there: only 60.5 percent of the ALL-INKL.COM domains in our DMARC study had any DMARC record.

STRATO. DMARC is already active at STRATO with its own standard rule (STRATO FAQ on DMARC). In our DNS data that rule shows up as v=DMARC1; p=reject; on most STRATO domains. To use your own policy, for example to get reports, select Keine STRATO-DMARC-Regel in the domain's DNS settings, add a TXT record with the prefix _dmarc and your value, and confirm with Einstellung übernehmen. You can only return to the STRATO rule after deleting every _dmarc TXT record. If invoices or newsletters from a CRM or shop bounce, first check whether those tools sign with DKIM for your domain.

Step 4: Check that it works

Run your domain through our free email deliverability check. It reads SPF, DKIM, DMARC, MX, MTA-STS and BIMI and tells you for each one what is missing or wrong. For a single record, a DNS lookup is enough, for example nslookup -type=TXT _dmarc.yourdomain.com for DMARC. DNS changes can take a few hours to show up, so if something looks missing right after you added it, check again later.

The mistakes we see most often

  • Two SPF records after switching providers, an old one and a new one. Merge them into one.
  • Two DMARC records, for example a self-made one next to the ALL-INKL.COM default. Receivers then ignore DMARC entirely.
  • IONOS DKIM missing after a DNS move, for example to Cloudflare, because nobody copied the three CNAME records.
  • Too many includes after years of adding tools. Remove services you no longer use.
  • DKIM published but never switched on, especially in Google Workspace, where the Start authentication click is easy to forget.
  • DMARC jumped straight to reject before anyone read a report, and suddenly invoices from the accounting tool stop arriving.
  • Cold email sent from the main domain. Even with perfect records, one aggressive campaign can damage the domain your whole company depends on.

Good records are the entry ticket, not the whole game. Inbox placement also depends on warm-up, volume, list quality and the copy itself; our cold email deliverability guide goes through the rest. And in Germany, advertising email without prior consent is an unreasonable nuisance under § 7 UWG, also in B2B, whatever your DNS says. This is not legal advice.

When this guide is not your problem

If all three records pass and your mail still lands in spam, the cause is reputation, volume or content, not DNS. If you only want to send cold email, do not change your main domain's records for it at all; set up separate sending domains instead. And if your company has a dedicated IT provider who manages the DNS, send them this page rather than editing the zone yourself.

Where KNK fits

For our clients we never touch the main domain. We set up dedicated sending domains, SPF, DKIM and DMARC, warm the mailboxes and monitor them continuously, and then we run the outreach, handle every reply and book the meetings, from 3,300 euros a month, all-inclusive (cold email agency, pricing).

If your domain runs at a German hoster, also look at what IONOS, STRATO and ALL-INKL.COM set in our DNS data.

Frequently asked questions

My domain is registered at IONOS, the DNS runs on Cloudflare and our mailboxes are IONOS mail. Which DKIM records do I need and how do I check they work?

Add three CNAME records at Cloudflare: s1-ionos._domainkey to s1.dkim.ionos.com, s2-ionos._domainkey to s2.dkim.ionos.com and s42582890._domainkey to s42582890.dkim.ionos.com, as listed on IONOS's DKIM help page in November 2026. Add include:_spf-eu.ionos.com to your single SPF record as well. Then query s1-ionos._domainkey on your domain with nslookup or run a free deliverability check; the answer should point to s1.dkim.ionos.com.

Does ALL-INKL.COM set up DMARC automatically?

According to ALL-INKL.COM's DMARC tutorial, read in November 2026, the KAS sets a default entry v=DMARC1; p=none;, and SPF and DKIM entries are created by default for KAS mail. p=none takes no action and sends no reports, so edit that entry under Tools, DNS settings, add a rua address and tighten the policy after a few weeks of reports. Check your own domain first, because in our data only 60.5 percent of ALL-INKL.COM domains had a DMARC record.

We send invoices from a CRM in the name of our STRATO domain and they keep bouncing. Is STRATO's DMARC rule the reason, and what should I change?

Possibly. STRATO activates its own DMARC rule by default, and on most STRATO domains in our data it reads p=reject, so mail from a CRM that does not sign with DKIM for your domain fails. Set up DKIM for your domain in the CRM and add an SPF record. If you cannot fix the sender at short notice, select Keine STRATO-DMARC-Regel in the DNS settings and publish your own record with p=none and a report address as a temporary step.

How do I set up SPF, DKIM and DMARC for Google Workspace?

Add a TXT record v=spf1 include:_spf.google.com ~all on your domain. In the Admin console under Apps, Google Workspace, Gmail, Authenticate email, generate a 2048-bit DKIM key, publish it as a TXT record at google._domainkey and click Start authentication once the record is live. Then add a DMARC TXT record at _dmarc, starting with v=DMARC1; p=none and a reporting address.

What is the SPF record for Microsoft 365?

For a domain that only sends through Microsoft 365, Microsoft recommends v=spf1 include:spf.protection.outlook.com -all as a TXT record on the domain. If other services or servers send for the domain too, add them to the same single record, and keep the total under ten DNS lookups.

Why are my emails landing in spam even though SPF, DKIM and DMARC are set up?

Authentication only proves who you are. Inbox placement then depends on reputation and behaviour: new domains that were not warmed up, too many emails per day, high bounce or complaint rates, and wording or links that look like bulk mail. Check the records first with a free tool, then work through volume, list quality and copy.

Want this run for you, not just read about?

We build and operate the outbound engine these posts describe. You get the meetings.

Book your free GTM audit

Keep reading