Free tool
SPF / DKIM / DMARC checker
Enter a domain, plus a DKIM selector if you know it, to see the SPF, DMARC and DKIM records it publishes.
Free · No signup · Protected by Cloudflare Turnstile
SPF lists the servers allowed to send for a domain. DKIM publishes the public key that verifies message signatures. DMARC tells receivers what to do when those checks fail, and where to send reports. Since February 2024, Gmail and Yahoo require all three from anyone sending 5,000 or more messages a day to their users.
This tool reads what is published. It doesn’t send a test message, so it can’t tell you whether your mail passes. For that, paste a received message’s headers into the email header analyzer.
What exactly is checked?
- SPF
- TXT records at the domain root. The first one starting with v=spf1 is shown. We don’t count DNS lookups toward SPF’s 10-lookup limit.
- DMARC
- The TXT record at _dmarc.<domain> starting with v=DMARC1. We don’t fall back to the parent domain, so a subdomain without its own record shows “not found” even when the parent’s policy covers it.
- DKIM
- Keys live at <selector>._domainkey.<domain>, and only the sender knows the selector. Common ones: google (Google Workspace), selector1 and selector2 (Microsoft 365), s1 and s2 (SendGrid).
- Caching
- Up to an hour. When all three records are missing, at most 5 minutes, so you can re-check soon after a fix.
Example lookups
| Input | Result | Why |
|---|---|---|
| github.com (selector google) | SPF, DMARC, DKIM | DMARC p=quarantine, sp=reject. |
| stripe.com | SPF, DMARC | DMARC p=reject. |
| gmail.com | SPF, DMARC | SPF v=spf1 redirect=_spf.google.com; DMARC p=none. |
| mailinator.com | SPF, DMARC | v=spf1 -all and p=reject. Strict records, still a throwaway inbox. |
For developers · GET /check/domain/{domain}
Use this in your signup flow
Use the domain check when a customer adds a domain they will send from, not on ordinary signups. spf and dmarc are true, false, or null when DNS didn’t answer.
curl https://api.piisend.com/api/v1/check/domain/stripe.com \
-H "Authorization: Bearer pii_..."
# Response (trimmed)
{
"domain": "stripe.com",
"spf": true,
"dmarc": true,
"mx": true,
"recommendation": "allow"
}- Authenticate with an API key:
Authorization: Bearer pii_…. Call it from your server, never the browser. - The Free plan includes 1,000 checks a month. Every response has an
X-Checks-Remainingheader; invalid input returns 400 and isn’t counted. - The browser checker on this page is separate and doesn’t use your checks.
When not to block
- Don’t reject signups because the email domain lacks DMARC. Plenty of small, legitimate companies have none. It says nothing about the person.
- DKIM “not found” here usually means a wrong selector, not a missing key. Check the s= value in a DKIM-Signature header.
- p=none is not broken. It is monitoring mode, the normal first step before quarantine or reject.
FAQ
How do I find my DKIM selector?
Open a message you sent, view the original headers, and find the DKIM-Signature line. The s= value is the selector and d= is the domain.
I see SPF but not DMARC. Is that OK?
Mail will still flow, but receivers have no policy to apply when checks fail and you get no reports. Start with v=DMARC1; p=none; rua=mailto:you@yourdomain at _dmarc.yourdomain.
What do p=none, quarantine and reject mean?
They tell receivers what to do with mail that fails DMARC: deliver it normally and report (none), send it to spam (quarantine), or refuse it (reject).
Can a domain have two SPF records?
No. RFC 7208 treats more than one v=spf1 record as a permanent error. Merge them into one. This tool shows the first one it finds.
Does this tell me if my emails pass authentication?
No. It shows published records. Pass or fail is decided per message by the receiver; paste the headers into the email header analyzer to see the result.
Related tools
- MX records checkerEnter a domain to list its mail servers (MX records) and their priority.
- Email header analyzerPaste raw headers to inspect routing, timestamps, and authentication results.
- Spam domain checkerTells you if a domain is on a phishing or scam blocklist, or belongs to a disposable mail service.