How the 10 lookups are counted
| Mechanism | Counts? | Note |
|---|---|---|
| include: | Yes, 1, plus everything inside it | Big providers’ includes contain more includes |
| a, mx | Yes, 1 each | mx also looks up each MX host |
| exists, redirect= | Yes, 1 each | |
| ptr | Yes | Deprecated; remove it |
| ip4:, ip6:, all | No | Free: no DNS lookup needed |
The free email domain checker follows every include and shows the real total for your domain.
Five ways to get under 10
- Remove services you no longer use. Old newsletter tools, a previous email provider, a CRM you left: each include can cost several lookups.
- Remove
a,mxandptrunless those servers really send your mail. - Use
ip4:for your own servers instead of an include ora: it costs no lookups. - Send bulk mail from a subdomain (news.yourcompany.in) with its own SPF record, so your main record lists only everyday mail.
- Rely on DKIM for services that sign with your domain: DMARC passes on aligned DKIM alone, so some services do not need to be in SPF at all. Check each service’s instructions first.
Then rebuild one clean record with the SPF record generator, which warns before you pass the limit. More on the records in SPF, DKIM and DMARC explained.
Questions people ask
What is the SPF 10 DNS lookup limit?
RFC 7208 lets a receiver make at most 10 DNS lookups while checking one SPF record. Every include, a, mx, ptr, exists and redirect counts, including those inside the records you include. Over 10, the result is PermError and SPF fails.
Do ip4 and ip6 count towards the limit?
No. ip4, ip6 and all do not need a DNS lookup, so listing a server by its IP address costs nothing towards the 10.
Is SPF flattening a good idea?
It works by replacing includes with the IP addresses they currently contain, but providers change their addresses, so a flattened record goes stale and starts failing silently. Prefer removing unused services; flatten only with a service that updates the record for you.
Does a PermError stop my mail being delivered?
It makes SPF fail. If DKIM still passes for your domain, DMARC passes and most mail arrives, but receivers treat a broken SPF record as a warning sign, and mail that relies on SPF alone fails.
Try it on your own domain
Set up a real mailbox at your own domain, with every record checked for you. No card needed.