DMARC + SPF + DKIM Checker
DMARC + SPF + DKIM Checker
Email authentication audit · policy explainer · 9 common DKIM selectors
DMARC + SPF + DKIM Checker
How the check reads each record
Type a domain
A domain, or a whole email address. Non-Latin domain names are looked up in their xn-- form (RFC 7208 §4.3). Add a DKIM selector if you have one.
SPF at the domain
Exactly one v=spf1 record must exist. The tool finds its all wherever it sits, follows include and redirect, and counts the DNS-querying terms against the limit of ten.
DMARC at _dmarc
If _dmarc. plus your domain has no single record, the tool walks up the name (RFC 9989 §4.10), then reads p, sp, np and t to give the policy receivers are asked to apply.
DKIM at the selectors
Nine common selectors plus yours. For each key it shows the type and size, and whether it is revoked (empty p=) or in testing. A lookup that fails is shown as failed, never as missing.
What SPF, DKIM and DMARC each check
SPF (RFC 7208, 2014) lists the hosts allowed to send mail using a domain in the envelope sender, and ends with what to say about every other host. DKIM (RFC 6376, 2011) publishes a public key, under a selector, that verifies a signature made by the signing domain. DMARC (RFC 9989, May 2026, which obsoletes RFC 7489) asks whether one of the two passed for a domain that aligns with the From address, and publishes what the domain owner wants done with mail that fails.
Reading an SPF record
Terms are tested left to right and the first match decides. A term with no qualifier means + (§4.6.2), so a bare all passes every host, exactly like +all. Mechanisms after all are never tested, and a redirect counts only when there is no all (§5.1). With neither, the answer for an unlisted host is neutral (§4.7). An include uses only the included record's pass: a -all inside it does not end the evaluation (§5.2).
Moving a domain from p=none to enforcement
RFC 9989 §5.1 describes the order: publish SPF and DKIM for aligned domains, set up a mailbox for aggregate reports, publish p=none with a rua address, read the reports, and fix every legitimate mail stream that fails before asking for quarantine or reject. It notes that reaching that point "may take many months" of reports. The t=y tag lets a domain test a stricter policy: receivers are asked to apply one level below it.
Privacy
The records are looked up from your browser with DNS-over-HTTPS queries to Cloudflare's public resolver at cloudflare-dns.com. The queries carry the domain you typed and names built from it: _dmarc. plus the domain (and its parent names when the walk is needed), the DKIM selectors under ._domainkey., and every domain the SPF record includes or redirects to. Like any web request they reach Cloudflare with your IP address, under Cloudflare's own resolver privacy policy. No request to RECATOOLS carries the domain, and RECATOOLS stores nothing.
A bare all passes everyone, t=y steps reject down to quarantine, and an empty p= revokes a key
SPF was first specified in RFC 4408 (April 2006) and is now RFC 7208 (2014); DKIM was RFC 4871 (May 2007) and is now RFC 6376 (2011); DMARC was RFC 7489 (March 2015), obsoleted by RFC 9989 in May 2026. RFC 9989 removed the pct, rf and ri tags, so a receiver following RFC 9989 ignores a pct still left in a record.
In SPF a missing qualifier means + (RFC 7208 §4.6.2). v=spf1 a mx all therefore passes every host on the internet, the same as +all.
An SPF evaluation may use at most ten terms that query DNS (include, a, mx, ptr, exists, redirect), counted through every include. One more is a permerror (RFC 7208 §4.6.4). ip4, ip6, all and exp do not count.
Two SPF records at one name are a permerror (RFC 7208 §4.5). Two DMARC records at one name are both discarded (RFC 9989 §4.10), as if there were none.
With t=y, a domain is testing its policy: receivers are asked to apply quarantine for p=reject and none for p=quarantine (RFC 9989 §4.7). The tag replaced pct=0 (Appendix A.6).
A subdomain with no DMARC record of its own is covered by one found up the tree, in at most eight queries (RFC 9989 §4.10). Its policy is the parent's sp, else p; for a name that does not exist it is np, else sp, else p (§4.10.1).
p=none means the domain owner "offers no expression of preference" (RFC 9989 §4.7). Without a rua tag, receivers must not send aggregate reports at all.
A DKIM key record with an empty p= means the key has been revoked (RFC 6376 §3.6.1). Mail signed with that selector fails verification.
Verifiers must not accept DKIM signatures from RSA keys under 1024 bits, and signers should use at least 2048 (RFC 8301 §3.2). The same RFC retired rsa-sha1 (§3.1).
An SPF neutral result (the default for a record with no all and no redirect) "MUST be treated exactly like" having no SPF record at all (RFC 7208 §8.2).
Frequently asked questions
SPF says which hosts may send mail for a domain used in the envelope sender (RFC 7208). DKIM lets a signing domain sign a message with a key published in DNS (RFC 6376). DMARC passes a message when SPF or DKIM passes for a domain that aligns with the From address, and publishes what the domain owner wants done with mail that fails (RFC 9989).
RFC 7208 leaves that to the domain owner. RFC 9989 §7.1 points out one cost of -all: some receivers check SPF before DMARC, so a message that would pass DMARC through an aligned DKIM signature can be rejected on the SPF fail alone, and such a rejection never appears in DMARC aggregate reports. The checker shows which one the record uses.
The domain owner expresses no preference about mail that fails DMARC (RFC 9989 §4.7). Receivers send aggregate reports only if the record has a rua tag; without it they must not send them. So p=none with no rua collects nothing.
RFC 9989 §5.1 describes starting at p=none with a rua address, reading the aggregate reports, and fixing every legitimate mail stream that fails before asking for enforcement, and says that can take many months of reports. A domain can also publish its target policy with t=y, which asks receivers to apply one level below it while it tests.
It marks the policy as a test. Receivers are asked to apply quarantine when the record says p=reject, and none when it says p=quarantine (RFC 9989 §4.7). It has no effect on p=none and does not change reporting. The checker shows both the policy the record names and the one that applies.
When there is no single DMARC record at _dmarc plus the exact domain, receivers walk up the name and use the record of the organisational domain (RFC 9989 §4.10). That record's sp tag sets the policy for existing subdomains, else its p. For a name that does not exist the order is np, then sp, then p.
A selector is whatever name the signer chose, so a checker can only guess. This one tries nine common ones. Open a message from the domain, find the DKIM-Signature header, and type its s= value in the selector box: the d= value is the domain to check.
Without a DMARC record, receivers must not apply the DMARC mechanism to the domain's mail (RFC 9989 §4.10.1), so nothing ties SPF or DKIM to the From address a reader sees.
Since 1 February 2024, Google has required every sender to Gmail accounts to set up SPF or DKIM, and senders of more than 5,000 messages a day to Gmail accounts to set up SPF, DKIM and DMARC, where the DMARC policy can be none. Google says mail that is not authenticated might be marked as spam or rejected with a 5.7.26 error.
Only one kind. RFC 9989 §2.2 says DMARC "can only be used to combat specific forms of exact-domain spoofing directly", so a lookalike domain is outside it, and §2.4 puts display-name attacks out of scope. Nor does it help against mail sent from a genuine mailbox someone has taken over, for the reason in the note under the checker.
Not on our side. The DNS queries go from your browser to Cloudflare's public DNS-over-HTTPS resolver (cloudflare-dns.com) and carry the domain you typed and names built from it, so Cloudflare receives them under its own resolver privacy policy. No request to RECATOOLS contains the domain, and nothing is stored or logged here.
Method & sources
How it computes
Reads TXT records over DNS-over-HTTPS. SPF (RFC 7208): one v=spf1 record; its all term wherever it sits (bare all = +all), else redirect, else neutral; include and redirect followed, DNS-querying terms counted to 10. DMARC (RFC 9989): _dmarc at the domain, else the §4.10 tree walk; p, sp, np and t=y applied. DKIM (RFC 6376): nine common selectors plus one typed; key type, size, revoked (empty p=), testing. A failed lookup is shown as failed. Inspects DNS only; sends no mail.
What this tool implements
- SPF: RFC 7208 (2014), which replaced the experimental RFC 4408 (2006). A missing qualifier means "+" (§4.6.2), so a bare all passes every host; more than one v=spf1 record is a permerror (§4.5); mechanisms after all are ignored and a redirect applies only when there is no all (§5.1); §4.6.4 caps an evaluation at 10 DNS-querying terms (include, a, mx, ptr, exists, redirect), and exceeding it is a permerror.
- DKIM: RFC 6376 (2011), which obsoleted RFC 4871 (2007). An empty p= means the key has been revoked, and t=y marks a domain testing DKIM (§3.6.1). RFC 8301 (2018): verifiers MUST NOT accept RSA keys under 1024 bits, signers SHOULD use at least 2048, and rsa-sha1 MUST NOT be used.
- DMARC: RFC 7489 (2015), obsoleted by RFC 9989 (May 2026). RFC 9989 Appendix C.5.2 removes the pct, rf and ri tags. t=y asks receivers to apply one level below p, sp or np (§4.7); several records at one name are all discarded, and a name with no record is covered by the record found by the §4.10 tree walk, using sp or np for a subdomain (§4.10.1).
- Google has required SPF or DKIM from every sender to Gmail accounts since 1 February 2024, and SPF, DKIM and DMARC (whose policy may be none) from senders of more than 5,000 messages a day; it says unauthenticated mail might be marked as spam or rejected with a 5.7.26 error.
Sources
- Kitterman S. RFC 7208, Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1 (2014). https://www.rfc-editor.org/rfc/rfc7208.txt
- Herr T, Levine J (eds). RFC 9989, Domain-Based Message Authentication, Reporting, and Conformance (DMARC) (2026). https://www.rfc-editor.org/rfc/rfc9989.txt
- Crocker D, Hansen T, Kucherawy M (eds). RFC 6376, DomainKeys Identified Mail (DKIM) Signatures (2011). https://www.rfc-editor.org/rfc/rfc6376.txt
- Kitterman S. RFC 8301, Cryptographic Algorithm and Key Usage Update to DomainKeys Identified Mail (DKIM) (2018). https://www.rfc-editor.org/rfc/rfc8301.txt
- Levine J. RFC 8463, A New Cryptographic Signature Method for DomainKeys Identified Mail (DKIM) (2018). https://www.rfc-editor.org/rfc/rfc8463.txt
- Google. Email sender guidelines — requirements for sending 5,000 or more messages per day. https://support.google.com/mail/answer/81126
What can make this go out of date
- Cloudflare's public DNS-over-HTTPS resolver (cloudflare-dns.com) answering the TXT lookups at the time of the check; a lookup that fails is reported as failed, never as a missing record