Lookup limit
SPF allows at most ten DNS-causing mechanisms.
Overview
SPF allows at most 10 DNS lookups that count toward the limit. include, a, mx, ptr, exists and redirect mechanisms consume lookups, and each include can add more. Exceeding the limit produces permerror, often reported as “too many DNS lookups”.
Flattening replaces includes with IP addresses to reduce lookups, but it must be refreshed when provider ranges change. Count the whole tree, not just the top-level record.
Examples
Example values show how this term appears in practice; run a live check for current values.
Row labels and notes are localized; values keep the source form used by the record or tool.
| Case | Values | Note |
|---|---|---|
| google.com | v=spf1 include:_spf.google.com ~allIncludes: 1 (approx. 2 lookups) | Value captured at review time. |
| cloudflare.com | 6 includes (approx. 7 lookups) | Value captured at review time. |
| github.com | 8 includes (approx. 9 lookups) | Value captured at review time. |
| Limit | 10 lookups maximum | Value captured at review time. |
| Fix | flatten or remove unused includes | Illustrative example, not a live observation. |
How to use it
- Open SPF Include Chain and run it against a real target such as example.com.
- Compare the raw answer with the definition and the example above; do not rely on the summary alone.
- If the answer differs, use the troubleshooting checks below and confirm with a second source before changing anything.
What to watch for
- Lookup limit depends on domain alignment, not just a passing SPF or DKIM check; compare the authenticated domain with the visible From domain.
- A result applies only to the exact target, configuration and scope you tested; check sibling names, hosts or paths separately.
- A single check shows one target from one environment; confirm Lookup limit with a second tool, device or source before you change anything.
Why it matters
MX, SPF, DKIM, DMARC, MTA-STS and deliverability checks.
4 tools use this term
EmailWhere to check it
Use SPF Include Chain, SPF Warning Check, SPF Checker, SPF Authorization to inspect it directly. Each tool shows the raw result and its limitations.
EmailCommon problems and fixes
Why does my SPF fail with too many lookups?
Receivers enforce a 10-lookup limit. Includes can multiply quickly, especially with SaaS senders.
From SPF Include ChainAuthentication failure: check SPF alignment, DKIM selector and DMARC policy together.
Two checks disagree: compare timestamps, TTLs, resolver location and client configuration before choosing one.
Used in these tools
4 toolsStandards and references
Frequently asked questions
What is Lookup limit?+
SPF allows at most ten DNS-causing mechanisms.
How do I check Lookup limit?+
Use SPF Include Chain, SPF Warning Check, SPF Checker, SPF Authorization to inspect it directly. Each tool shows the raw result and its limitations.
Why does Lookup limit matter?+
It affects how Email results are read. MX, SPF, DKIM, DMARC, MTA-STS and deliverability checks.
What is a common mistake?+
Ignoring the SPF lookup limit. Each include in Lookup limit can add lookups and push the domain over ten.
How this page is written
Definitions are compiled from the 244 tool pages, checked against the standards below, and reviewed by Steve. Each term links to the tools where it is used.


