SPF record exceeds the 10 DNS lookup limit
Evaluating this SPF record needs more than the 10 DNS lookups the specification permits.
Check your own domain
What causes this
Each include:, a, mx, ptr, exists: and redirect= mechanism costs one DNS lookup, and every include pulls in that provider's own record, whose mechanisms count too. RFC 7208 caps the total at 10 to stop SPF being used to amplify DNS traffic. Once a record goes over the cap, receivers return permerror rather than evaluating the mechanisms they did manage to resolve — so the senders listed at the end of your record are not the only ones affected; the whole record fails.
What it breaks
SPF returns permerror for all of your mail, not just for the senders past the tenth lookup. Mail that would otherwise have passed SPF now fails it, and DMARC loses its SPF path.
How to fix it
Reduce the number of lookup-costing mechanisms until the total is 10 or fewer.
- Remove includes for services you no longer use — this is usually where most of the budget has gone.
- Replace an include with the specific ip4:/ip6: ranges it resolves to where the provider publishes stable addresses. IP mechanisms cost zero lookups.
- Consolidate onto fewer sending services where the same job is being done twice.
- Avoid ptr, which costs a lookup and is deprecated.
- Re-check after each change — the count is what the receiver computes, not what the record looks like.
Specification: RFC 7208 — Sender Policy Framework
Reported as: SPF_TOO_MANY_DNS_LOOKUPS, SPF_LOOKUPS_NEAR_LIMIT
Related problems
- No DKIM key found at the selectors we checkedWe probed the selectors used by common providers and found no DKIM record.
- DKIM record is malformedThe record at this selector is not a valid DKIM key record.
- DKIM key is shorter than 1024 bitsThe RSA key is too short to be considered secure and some receivers reject it.
- No DMARC record foundThere is no DMARC policy at _dmarc for this domain.
- DMARC record contains a syntax errorA tag in the DMARC record is malformed, which can invalidate the whole policy.