Too many SPF lookups find nothing
More than two of the DNS lookups your SPF record needs find nothing: a name that doesn't exist, or one with no record of the kind asked for. Receivers allow two. At the third, they stop with an error (permerror), so SPF fails for mail from every service listed after that point.
On the result:
Too many SPF lookups find nothing
Receivers allow 2 lookups that find nothing; at the third, SPF fails.
RFC 7208 section 4.6.4 calls these "void lookups": "SPF implementations SHOULD limit "void lookups" to two. … Exceeding the limit produces a "permerror" result." The limit is separate from the limit of 10 lookups in SPF goes over its lookup limit, and a record well under 10 can still reach it.
What counts
A term counts when its lookup finds nothing:
aora:host.example.comwhen the name has no address.mxormx:example.comwhen the name has no mail servers.exists:when its name has no IPv4 address.include:when its name has no TXT records at all. Receivers stop at that one anyway, as SPF names a record receivers can't follow explains.
Terms inside the records you include count too. Most void lookups are leftovers: an a: for a server that was shut down, or an mx on a domain that no longer receives mail.
Find the terms
See the lookups → under the finding opens the SPF checker, which marks each term that "finds nothing". To check one yourself, put the name from the term in place of mail.example.com:
dig +short A mail.example.com
dig +short AAAA mail.example.com
dig +short MX mail.example.com
No output means the lookup finds nothing. For a, both A and AAAA must be empty. For exists:, only the A line counts: it asks for an IPv4 address. On Windows, use nslookup -type=A, -type=AAAA or -type=MX with the same names.
Fix it
- Remove each
a,mxorexiststerm that finds nothing from your own record. It approves no server today, so no mail that passes now stops passing. - If the term is inside a service's include, tell the service; you can't change its record. Until it is fixed, check whether you still need that include.
- Run the check again.
Last updated .