SPF, DKIM and DMARC checker: why do my emails go to spam?
Free email authentication checker. See whether your domain has SPF, DKIM and DMARC set up correctly, in plain English, with what to fix.
- Kind
- Lookup
- You give it
- A domain name
- How it works
- Looks up public records from our server
- Costs
- Free, no sign-up
What to know
What it checks
If your domain can receive email, has one valid SPF record within the 10-lookup limit, signs mail with DKIM on the selectors common providers use, and has a DMARC policy.
Why it matters
Gmail and Yahoo require every sender to use SPF or DKIM, and bulk senders to use SPF, DKIM and DMARC. Missing records are a common reason invoices and booking confirmations land in spam.
Who fixes it
Whoever manages your DNS adds the records; your email provider’s admin console gives the exact values. It’s usually a 20-minute job.
Sources: Google Workspace Admin Help, Email sender guidelines (2024); Yahoo Sender Hub, Best practices (2024); RFC 7208, Sender Policy Framework (SPF), section 4.6.4 (DNS lookup limits) (2014)
How to read the results
- SPF lists the services allowed to send email as your domain. It should end in
~allor-all, never+all, and stay within 10 DNS lookups. - DKIM adds a signature to each email so receivers can check it came from your domain unchanged.
- DMARC tells receivers what to do with email that fails those checks for the domain in the From: address, and sends you reports.
Most email providers walk you through all three. More in our glossary: SPF, DKIM, DMARC and email deliverability.
How this check works
Our server reads your domain’s public DNS records through Cloudflare’s DNS over HTTPS service: MX for receiving mail, the SPF record, the DMARC record at _dmarc, and DKIM under the selector names most email providers use (such as google, selector1, selector2, k1 and s1). It counts the DNS lookups your SPF record needs, because SPF allows 10.
DKIM can be set up under any name. If yours uses one we don’t try, it shows as “not found” even though it works, and your email provider’s admin console will confirm. The check reads records only; it doesn’t send a test email or see how mail is actually delivered.
As our privacy page says, we keep a note of which address was checked and its score. Answers are cached for 10 minutes, so checking the same address again straight away shows the same result. You can run six of these checks a minute.
Questions
Common questions
It says DKIM wasn’t found, but I think it’s set up. Why?
DKIM records live under a name (a selector) chosen by your email provider. We check the selectors the common providers use; yours may use a different one. Your email provider’s admin console shows whether DKIM signing is on.
Which DMARC policy should I use?
Start with p=none and a reporting address, so you can see who sends email as your domain. Once your real email passes, move to p=quarantine, then p=reject.
Can I have two SPF records?
No. A domain must have exactly one SPF record. If you use several services that send email, combine them into one record with an include for each.
Does my website’s contact form need SPF?
If the form sends email “from” your domain, the service that sends it must be in your SPF record, or those emails are more likely to land in spam.
- LookupDNS lookupFree DNS lookup that explains the answers: who manages your DNS, where your website points, who handles your email, and what the other records do.
- LookupDomain expiry checkerFree domain expiry checker. See when your domain expires, which registrar holds it, when it was registered, and whether it’s locked against transfers.
- LookupDomain name checkerEnter your business name to get sensible domain ideas, each checked for .com availability with the official registry, with notes on what makes a name easy.