SPF, DKIM and DMARC checker
Enter a domain to check its SPF, DKIM, DMARC and MX records. Each problem comes with the fix, and SPF shows every DNS lookup it spends against the limit of 10.
Try
- SPFIncludes and lookup count
- DKIMKeys at 21 selectors
- DMARCPolicy and reports
- MXWho receives mail
What it checks
SPF
Reads the SPF record and follows every include and redirect. It counts the DNS
lookups they cost against the limit of 10
and draws them as a tree, so you can see which include pushes you over. It names the
service behind each include and flags duplicate
records, broken includes,
+all, ?all, a missing
all and ptr.
DKIM
Tries 21 common selectors, such as google, selector1 and
resend. For each key it
finds, it reports the type and size, and warns about
keys under 2048 bits and revoked (empty) keys.
DMARC
Reads the record at _dmarc. It flags a
missing record,
more than one record, a missing or invalid
policy, p=none and a missing
rua= report address.
MX
Lists the servers that receive mail for the domain and names the provider, such as Google Workspace, Microsoft 365 or Cloudflare Email Routing.
Every problem has a fix guide, and the bounce codes Gmail and Microsoft send, such as 5.7.26 and 5.7.515, are explained under SMTP errors.
Questions
Why does SPF have a limit of 10 DNS lookups?
RFC 7208 caps the include, a, mx, ptr, exists and redirect terms a receiver will follow at 10. Past that, SPF returns a permanent error and fails for every message, even from servers you authorized. Each include can pull in more lookups of its own, which is why the tree is shown. How to get under 10.
Why didn't it find my DKIM key?
DNS cannot list a domain's selectors, so the checker can only try common ones. If
your sending service uses its own selector, open the headers of a message you sent
and read s= in the DKIM-Signature line.
How to find your selector.
Which DMARC policy should I use?
Start with p=none and a rua= address so you receive reports. Once the reports show
every service that sends your mail passing, move to p=quarantine,
then p=reject. How to move off
p=none.
Is there an API?
Yes. GET /check/{domain} returns the same findings as JSON. Each address can make 10
requests a minute. See the API docs.