SPF check, DKIM check and DMARC check

We read your domain's MX, SPF, DKIM and DMARC records, MTA-STS policy and TLS-RPT where announced, and check your website's certificate. You see right away what is missing or set up wrong.

Free, no sign-up no credit card public DNS records only Deutsch

What the three records do

SPF: who may send

A TXT record on your domain that lists the servers allowed to send mail for it, for example v=spf1 include:_spf.google.com ~all. The end decides what happens to everyone else: ~all marks them as suspicious, -all rejects them. +all allows the whole internet and makes the record worthless.

DKIM: a signature on every message

Your mail service signs each message. Recipients find the public key at selector._domainkey.your-domain. We try the common selectors; if your service uses its own, the check may not find it, and that is not an error on your side.

DMARC: the rule for failures

A TXT record at _dmarc.your-domain, for example v=DMARC1; p=none; rua=mailto:dmarc@your-domain. p is the policy (none, quarantine, reject), rua the address for daily reports. DMARC passes when SPF or DKIM passes for the same domain as the visible sender.

Records by provider

ProviderSPFDKIM
Google Workspacev=spf1 include:_spf.google.com ~allTXT at google._domainkey, generated in the Admin console (Gmail, Authenticate email)
Microsoft 365v=spf1 include:spf.protection.outlook.com ~alltwo CNAMEs, selector1._domainkey and selector2._domainkey, target shown in the Defender portal
IONOSv=spf1 include:_spf-eu.ionos.com ~allselector and value from the IONOS customer area, if your plan offers DKIM
Stratov=spf1 include:smtp.rzone.de ~allselector and value from the Strato customer area, if your plan offers DKIM
all-inklv=spf1 include:spf.kasserver.com ~allselector and value from the KAS, if your plan offers DKIM
Mailchimpnot neededtwo CNAMEs, names and targets under Account, Domains, Start authentication; the guide does not ask for an SPF record
Brevov=spf1 include:spf.brevo.com ~allthe records Brevo shows under Senders, Domains; on shared IPs DKIM counts, not SPF

Several senders (mailbox and newsletter tool) go into one record: v=spf1 include:_spf.google.com include:spf.brevo.com ~all.

Set up step by step

  1. List every sender

    Mailbox (Google Workspace, Microsoft 365, your host), shop system, newsletter tool, invoicing or helpdesk software: everything that sends with your domain as sender.

  2. One SPF record

    At your domain provider, one TXT record on the domain itself: v=spf1, one include per sender from the table, ~all at the end. If a record already exists, extend it instead of adding a second.

  3. Switch on DKIM per sender

    In each service, set up domain authentication and add the records it shows at your domain provider. Afterwards the service usually shows “verified”.

  4. Start DMARC with p=none

    TXT record at _dmarc with v=DMARC1; p=none; rua=mailto: and an address that can receive reports. Check here again; all three should now be found.

  5. Tighten after reading the reports

    When the reports show for a few weeks that all your senders pass, switch to p=quarantine, later to p=reject.

The parts of a DMARC record

TagMeaning
v=DMARC1identifier, always first
p=none | quarantine | rejectpolicy: observe only, to spam, reject
rua=mailto:…address for the daily aggregate reports
sp=policy for subdomains; if missing, p applies
pct=share of mail the policy applies to (default 100)
adkim= / aspf= r | show exactly the domain must match: r relaxed (subdomain is enough), s strict

Example for the start: v=DMARC1; p=none; rua=mailto:dmarc@your-domain. Example after a few clean weeks: v=DMARC1; p=reject; rua=mailto:dmarc@your-domain.

Common mistakes

  • Two SPF records. Then none applies. Merge them into one.
  • More than 10 DNS lookups. Each include, a, mx and redirect counts, including nested ones. Above 10, SPF fails (RFC 7208). Remove senders you no longer use.
  • +all or ?all at the end. Allows everyone or says nothing. Use ~all, later -all.
  • DMARC p=none for years without reading reports. p=none only observes. Read the reports, then tighten.
  • Newsletter tool without DKIM for your domain. Mail is signed with the tool's domain, DMARC fails for yours.

Questions

What is the difference between SPF, DKIM and DMARC?

SPF lists the servers allowed to send for your domain. DKIM signs every message with a key whose public half sits in DNS. DMARC tells recipients what to do with mail that fails both and where to send reports.

Can there be several SPF records?

No. With two TXT records starting v=spf1, none applies (RFC 7208, permerror). All senders belong in one record.

Which DMARC policy should I start with?

p=none with an rua address for reports. Once the reports show all your senders pass for a few weeks, move to p=quarantine and later p=reject.

How long does a DNS change take?

Usually minutes, up to a few hours depending on the provider and TTL. Then check again here.

What is a DKIM selector?

The name before ._domainkey under which a service publishes its public key, such as google or selector1. Every sender has its own, so several DKIM records side by side are correct.

What is in DMARC reports?

Which servers sent mail with your domain as sender in the last 24 hours, how many messages, and whether SPF and DKIM passed. They show which sender is still missing before you tighten the policy.

What is the difference between ~all and -all?

~all (softfail) marks mail from servers not listed as suspicious, -all (fail) declares it not allowed. With DMARC in place its policy decides anyway; ~all is the usual, safe start.

Why does my email land in spam?

Often because the website, the shop or the newsletter tool sends through a server that is not in SPF and does not sign with DKIM for your domain. Since February 2024 Google and Yahoo require SPF, DKIM and DMARC from bulk senders.

What does the MTA-STS check cover?

If your domain has a record at _mta-sts, we fetch the policy from https://mta-sts.your-domain/.well-known/mta-sts.txt and check that it can be retrieved, that it lists every one of your MX servers (otherwise servers in enforce mode will not deliver your mail) and that a TLS-RPT record for reports exists at _smtp._tls. Without an MTA-STS record we show nothing on it: MTA-STS is optional.