Count SPF lookups
Counts the DNS lookups of your SPF record including all nested includes and shows which entry breaks the limit of 10.
Frequently asked questions
Why is there a limit of 10 lookups?
RFC 7208 limits DNS lookups per SPF check to 10 so that receivers are not overloaded. With more lookups the result is permerror, and SPF does not count for DMARC.
What counts as a lookup?
include, redirect, a, mx, exists and ptr each cost one lookup, including in nested records. ip4, ip6 and all cost nothing.
What are void lookups?
Lookups that find no record, such as an include pointing to a domain without SPF. More than two also lead to permerror.
How do I get below 10?
Remove services no longer used, take services with their own DKIM signature out of SPF, move sending to subdomains. Only flatten (IP addresses instead of include) with ongoing monitoring, because providers' addresses change.