SPF record checker
Enter a domain to read its SPF record, see which servers may send mail for it, and count the DNS lookups SPF really needs, including everything pulled in by include:. More than 10 lookups makes SPF fail. Free, no sign-up, runs in your browser.
How to read the result
- Policy: the final
allterm decides what happens to mail from servers you did not list.-allrejects it,~allmarks it suspicious (softfail),?allsays nothing,+allallows everyone and defeats the purpose. - DNS lookups: receivers stop after 10 lookups caused by
include,a,mx,ptr,existsandredirect. Includes count too, and so do the includes inside them. Going over the limit returns a permanent error and SPF fails. Remove services you no longer use, or flatten the record. - One record only: a domain must publish exactly one SPF record. Two records are an error.
- ip4 and ip6 terms cost no lookups.
Check SPF from the command line
dig +short TXT example.com | grep spf1
Frequently asked questions
What is an SPF record? SPF (Sender Policy Framework) is a TXT record listing the servers allowed to send email for a domain. Receivers check it to spot forged senders.
Why does the 10 lookup limit exist? It protects receivers from records that trigger endless DNS queries. Receivers give up past 10 and treat the record as broken.
Is SPF enough on its own? No. SPF only checks the technical sender address. Use it together with DKIM and a DMARC policy.
Need to check hundreds of domains? The Domain Intelligence API runs DNS, email security (SPF, DKIM, DMARC), registration and expiry, SSL and website technology for a whole list in one run, from $0.80 per 1,000 domains.
Try it on Apify
Try it on Apify