SPF, DMARC and DKIM record checker
Paste the value of a DNS TXT record and the tool checks it against the standards: syntax errors, too many SPF lookups, a weak DMARC policy, tags removed in 2026 and short DKIM keys. Nothing is sent anywhere and no DNS queries are made.
How to use it
- Get the record value. Copy it from the TXT field in your DNS provider's dashboard, or run dig +short TXT your-domain.com (SPF), dig +short TXT _dmarc.your-domain.com (DMARC) or dig +short TXT selector._domainkey.your-domain.com (DKIM).
- Paste it into the box. You can paste several records at once, one per line. Quotes and split strings from dig output are fine.
- Click Check. Each record gets a summary and a list of findings, errors first.
- After fixing it in DNS, wait for the TTL to expire, copy the new value and check it again.
How it works
SPF, DKIM and DMARC records stop other people from sending email in your domain's name. But a single mistake – one lookup too many, a typo in a mechanism, a forgotten policy – and the protection quietly stops working. Receivers don't tell you; they simply deliver the spoofed mail.
The tool checks:
- SPF (RFC 7208) – mechanism and address syntax, the number of DNS lookups (limit 10), how the record ends (
+all,?all,~all,-all), the discouragedptr, mechanisms afterall, duplicateredirect, overly wide IPv4 ranges and record length. - DMARC (RFC 9989) –
v=DMARC1coming first, thep,spandnppolicy values, test modet=y, theruaandrufreport addresses, tags removed in 2026 (pct,rf,ri) and unknown tags. - DKIM keys (RFC 6376, RFC 8301) – RSA key length (under 1,024 bits is invalid, 2,048 recommended), SHA-1 in the
htag, which is forbidden, thet=ytesting flag and revoked keys.
The tool doesn't query DNS. It checks exactly what you paste – including a record you're still drafting and haven't published yet.
FAQ
Is the record I paste sent anywhere?
No. A script in your browser parses it. Nothing goes to a server and no DNS queries are made – which is also why the tool can't see what's inside the records your SPF includes.
Why does the tool say the real lookup count is higher?
SPF evaluation may trigger at most 10 DNS lookups (the include, a, mx, ptr and exists mechanisms plus the redirect modifier). Each include loads another service's record, which may contain more includes. The tool only counts lookups in the record you paste. You can look up each service's record with dig +short TXT and paste it on another line.
My DMARC record has pct=100. Is that wrong?
It isn't an error, but the tag is pointless. The new DMARC standard (RFC 9989, May 2026) removed the pct, rf and ri tags, and receivers following it ignore them. pct=100 was the default anyway, so you can safely delete it.
If the tool finds no errors, am I done?
Not quite. Correct syntax doesn't mean the record covers every service that sends mail for you. Only DMARC aggregate reports (rua) show that. Our guide to SPF, DKIM and DMARC walks through the rollout step by step.
How do I check whether a particular email passed SPF, DKIM and DMARC?
Copy the message headers from your mail client (show original) and paste them into our email header analyser. It shows the results from the Authentication-Results header.
Sources
Updated