Free tool · SPF, DKIM, DMARC, MX

Email & DNS check

Does your mail land in spam? Enter your domain and see within seconds whether your MX, SPF, DKIM and DMARC are right, with the fix for each point.

Public DNS data only · nothing stored · no account needed

Why does my mail land in spam?

Gmail, Outlook and other mail providers check every incoming email to see whether the sender really is who they claim to be. They do that with three DNS records of the sender's domain: SPF, DKIM and DMARC. If one is missing or wrong, your mail looks like forged mail. It ends up in the spam folder or is refused, even when the content is perfectly normal.

Since February 2024, Google and Yahoo require bulk senders to have SPF, DKIM and DMARC in order. For smaller senders these records also weigh heavily.

MX records: where your mail arrives

The MX record tells other mail servers which server should receive mail for your domain, for example Microsoft 365, Google Workspace or your hosting company. Each MX record has a priority: the lowest number is tried first, the rest are backups. Without a working MX record, nobody can email you at your own domain.

SPF and the limit of 10 DNS lookups

SPF (Sender Policy Framework) is a single TXT record that starts with v=spf1 and lists which servers may send on behalf of your domain: your mail provider, but also your web shop, newsletter service or accounting software. The record usually ends with ~all (softfail: other servers are suspect) or -all (fail: other servers are not allowed). +all lets everyone in and makes SPF worthless.

There may be only one SPF record; two records make SPF invalid. On top of that, an SPF check may do at most 10 DNS lookups. Every include, a, mx, ptr, exists and redirect counts, including the lookups inside an include. Connect many services and you go over quickly. The result is a permerror: SPF then fails for all your mail. ip4 and ip6 parts do not count. Lookups that return nothing (void lookups) are limited too: more than two also gives an error.

DKIM: a digital signature on every email

With DKIM (DomainKeys Identified Mail), the sending server puts a cryptographic signature in the header of every email. The matching public key is in the DNS under a selector, for example selector1._domainkey.yourdomain.com for Microsoft 365 or google._domainkey for Google Workspace. The receiver can thus verify that the mail really comes from your domain and was not changed on the way. Use a key of at least 2048 bits; keys shorter than 1024 bits are ignored by the large providers.

DMARC: p=none, quarantine or reject

DMARC lives in a TXT record on _dmarc.yourdomain.com and ties SPF and DKIM to the sender address the recipient sees. An email passes DMARC when SPF or DKIM passes for the same domain as in the From address. In the record you decide what should happen to mail that fails:

  • p=none: block nothing, only receive reports. Good to start with, but it does not protect yet.
  • p=quarantine: mail that fails goes to the spam folder.
  • p=reject: mail that fails is refused. The strongest protection against phishing in your name.

Always add a rua address (rua=mailto:...). Receivers then send you daily reports on who sends mail in your domain's name. That way you see whether all your real mail passes before you tighten the policy to quarantine and reject.

MTA-STS, TLS-RPT, reverse DNS and blacklists

MTA-STS enforces that mail to your domain is delivered encrypted, and TLS-RPT sends you reports when that goes wrong. They are optional but a good addition. The check also looks at whether your mail servers have a reverse DNS name (PTR) and whether their IP addresses are on a few public blacklists.

FAQ

About SPF, DKIM and DMARC

Stuck? I am happy to set it up for you.

What is an SPF record?

An SPF record is a TXT record in your domain's DNS listing which servers may send email on your behalf, for example v=spf1 include:spf.protection.outlook.com ~all. A receiving mail server compares the sending server with that list.

How do I find my DKIM selector?

Open an email you sent yourself and view the original headers. In the DKIM-Signature line, s= is the selector and d= the domain. The key then lives at selector._domainkey.yourdomain.com. This check tries the common selectors of Microsoft 365, Google, Proton and others.

Which DMARC policy should I choose?

Start with p=none and a rua address, so you get reports without any mail being held back. Once everything checks out (all your real mail passes SPF or DKIM), move to p=quarantine and then to p=reject.

What does "too many DNS lookups" mean for SPF?

An SPF check may do at most 10 DNS lookups. Every include, a, mx, ptr, exists and redirect counts, including the lookups inside an include. Go over it and SPF returns a permerror and fails for all your mail.

Why does Spamhaus show "unknown"?

Spamhaus does not answer queries that arrive through large or public DNS servers. Then there is no real result, and we show that honestly as unknown rather than "listed" or "clean".

Does this check store anything?

No. The check only reads public DNS data of the domain you enter. The result is not kept and you do not need to sign in.

How soon will I see a DNS change?

That depends on the record's TTL: usually within a few minutes to a few hours. Then simply run the check again.