Tools
SPF Checker — Check SPF Record Online
Check an SPF record online for syntax errors, duplicate records and DNS lookup risks.
What this report checks
SPF Checker reads every root TXT record that starts with v=spf1, validates the policy shape and explains risks that can make legitimate mail fail authentication.
| Signal | Healthy result | Problem detected | Recommended action |
|---|---|---|---|
| Record count | One SPF policy at the root | No policy or multiple v=spf1 records | Publish one policy and merge every authorised sender into it. |
| Final mechanism | A deliberate ~all or -all ending | Missing, duplicated or overly permissive all | Inventory senders first; use softfail while testing and hardfail only after validation. |
| DNS lookup risk | Fewer than 10 lookup-causing mechanisms | Nested include, a, mx, ptr, exists or redirect chains | Remove obsolete includes and consolidate providers without flattening records blindly. |
| Syntax | Recognised mechanisms and qualifiers | Typos, invalid CIDR values or text after all | Correct the TXT value, wait for its TTL and check again. |
From result to verified repair
- 1Enter the root domain, not an email address or URL.
- 2Compare each finding with the services that actually send mail.
- 3Update the single SPF TXT record at the authoritative DNS provider.
- 4Check again after caches expire, then confirm SPF and DMARC alignment in a real message header.
What this tool cannot prove
- It cannot discover private sending systems that are absent from DNS.
- Valid SPF does not guarantee DMARC alignment or inbox placement.
- Nested provider records can change the ten-lookup result over time.
Worked examples
The checker reads the TXT records at the root of the domain and evaluates the one that starts with v=spf1.
v=spf1 include:_spf.google.com include:amazonses.com ~allv=spf1 include:_spf.google.com ~all
v=spf1 include:sendgrid.net ~all
# Fix: v=spf1 include:_spf.google.com include:sendgrid.net ~allv=spf1 include:_spf.google.com
# Fix: append ~all (or -all once every sender is confirmed)How the lookup count is read
The report counts the lookup-causing mechanisms written in the record itself: include, a, mx, ptr, exists and redirect. More than 10 is reported as an error. Includes can contain further includes, and those count toward the same limit of 10 when a receiver evaluates SPF, so a record near the limit can still fail. Remove includes for services that no longer send, and avoid ptr entirely.
Frequently asked questions
My provider says SPF passes, but the checker warns. Why?
A message can pass SPF while the record still has risks, such as a missing all mechanism or a lookup count near the limit. Fix the warning to keep it passing as providers change.
Does the checker follow redirect=?
It counts redirect as a lookup-causing mechanism. Check the target domain's record separately if you use one.
Do subdomains inherit the root SPF record?
No. SPF is evaluated for the exact domain in the envelope sender, so a subdomain that sends mail needs its own record.
Should a domain that never sends mail have SPF?
Optionally. Publishing v=spf1 -all states that no server may send for the domain, which helps receivers reject forged mail. A domain that only receives mail works without it, but a domain that sends through Free Domain Mail must instead publish v=spf1 include:_spf.freedomainmail.com ~all, merged into any existing SPF record.
Overview
Check an SPF record online for syntax errors, duplicate records and DNS lookup risks.
Authentication is the foundation
TXT proves control. MX directs incoming mail. SPF, DKIM and DMARC give receivers evidence that your messages are legitimate.
How SPF, DKIM and DMARC fit together: read the email authentication overview.