spf=permerror (void lookup limit of 2 exceeded)
A void lookup is a DNS query made while evaluating SPF that returns no answer: the name doesn't exist, or it exists
but has no record of the requested type. RFC 7208 lets receivers stop after two void lookups and return
permerror, and most large receivers do.
Even a single void lookup is a problem when it's an include: an include that points to a domain without an SPF
record is itself a permanent error.
Common causes
- An include for a service you stopped using. The provider removed or renamed its SPF record, and your include now points at nothing.
- A typo in an include, such as
include:_spf.gogle.com. aormxon a domain without A or MX records, for examplea:old-server.example.comafter the server was removed.- An include of a domain that publishes no SPF record, for example including a web host's main domain instead of its dedicated SPF name.
How to fix it
- Look up each
include:,a:andmx:target in your record:dig TXT _spf.provider.example +short. - Remove the ones that return nothing, or correct the name from the provider's current documentation.
- Check again after changing providers: leftovers are the main source of void lookups.