SPF void lookup limit: what 'too many void DNS lookups' means
Updated 10 November 2026 · 4 min read
Short answer
A void lookup is an SPF DNS query that returns no records (an empty answer or NXDOMAIN). RFC 7208 says receivers should allow at most two per SPF check; the third makes SPF return permerror. It usually comes from includes for services that shut down or renamed their SPF host, and from bare a or mx terms on a domain with no A or MX record. Remove those terms and the error goes away.
What counts as void
| Term | Void when… |
|---|---|
include:old-vendor.example | that name no longer exists or has no TXT record |
a | the domain has no A/AAAA record (common on sending-only domains) |
mx | the domain has no MX record, or an MX host has no address |
exists:%{i}.list.example | normal (that is how exists works), but each miss still counts |
Worked example
v=spf1 a mx include:_spf.google.com include:spf.oldcrm.example include:mail.retired-helpdesk.example ~allThe domain is a sending-only cold email domain with no website, so a is void (1). spf.oldcrm.example returns NXDOMAIN (2). The retired helpdesk host has no TXT record (3). Three void lookups: some receivers now return permerror even though Google, the real sender, is listed. Fix: delete a and the two dead includes. Keep mx only if your MX hosts actually send mail; for Google Workspace they don't, and Google's include already covers sending.
Why the limit exists
RFC 7208 section 4.6.4 adds the void-lookup limit next to the 10-lookup limit to stop SPF records being used to make receivers flood DNS with useless queries. Not every receiver enforces it, which is why the problem can be invisible for months: mail to one provider passes and to another fails.
How to find void terms
- 1
List the terms
Read your SPF record and write down each include, a, mx and exists.
- 2
Query each one
dig +short TXT spf.oldcrm.examplefor includes,dig +short A yourdomain.comanddig +short MX yourdomain.comfor a and mx. An empty answer means void. - 3
Remove or replace
Delete terms for services you no longer use; for a renamed vendor include, use the name in their current documentation.
Check the result
Re-check after cleaning the record. Run the domain through the free ReplyDak deliverability check: it reads MX, SPF, DKIM and DMARC live from public DNS, counts SPF lookups and checks the main blocklists, with no sign-up. If your DKIM selector is not a common one, type it into the optional selector box.
More setups and errors: SPF, DKIM and DMARC by provider, DNS host and error.
FAQ
How many void lookups does SPF allow?
RFC 7208 recommends a limit of two. The third void lookup gives permerror.
Is an include that returns NXDOMAIN void?
Yes. A name that doesn't exist, or exists with no TXT record, both count as void lookups.
Do void lookups count toward the 10-lookup limit too?
Yes. They count in both limits.