SPF record checker: validate SPF and count DNS lookups
Enter a domain to check its SPF record: every include followed down to the last one, the DNS lookups counted against SPF's limit of 10, and plain advice on anything that would make it fail.
Updated
Try , , .
How to use it
- 1Type a domain and click Check.
- 2Fix anything marked Fix first; those make SPF fail outright.
- 3Use the tree to see which service each include belongs to.
The 10-lookup limit
SPF lets a record cause at most 10 DNS lookups. Each include, a, mx, ptr, exists and redirect counts as one, and so does everything inside an include. Go over and SPF returns a permanent error, which receivers treat as a failure, even for legitimate mail.
It's easy to pass without noticing: Google Workspace, a marketing tool, a help desk and a billing system can use up most of the 10 between them. Remove services you've stopped using, or replace a large include with the ip4: ranges it covers.
~all or -all?
~all (softfail) marks mail from unlisted servers as suspicious; -all (fail) says it should be rejected. With a DMARC policy of quarantine or reject in place, ~all is the common choice, as DMARC decides what happens. +all, which allows every server, should never be used.
Questions
- Can a domain have two SPF records?
- No. With more than one, SPF fails for every email. Merge them into a single record.
- Why does my SPF pass but DMARC fail?
- DMARC also needs alignment: the domain SPF checks (the bounce address) must match the From domain. Mail sent through a service using its own bounce domain passes SPF for that service, not for you; DKIM signed with your domain fixes it.
- Is the lookup count exact?
- It counts every mechanism that needs a lookup, including inside nested includes. Receivers may also count the A lookups behind an mx mechanism, so stay a little under 10.
In Bloop.email
Bloop.email blocks tracking pixels until you choose to load images, so opening a suspicious email never tells its sender you read it.
Try Bloop.email free for 7 days