Stacked vendors
A suite mail platform, a CRM, a help desk, an invoicing app and a newsletter tool can each add one or more includes.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
The error means your SPF record triggers more than 10 DNS-querying terms (include, a, mx, ptr, exists, redirect), so receivers stop and return permerror. Fix it by removing unused includes, replacing a and mx with ip4 ranges, or moving senders to subdomains.
Run the SPF checker and expand each include. Add up include, a, mx, ptr, exists and redirect, including nested ones.
Remove includes for services you no longer use. This is the cheapest fix.
RFC 7208 says ptr should not be published. Replace it with explicit ip4 or ip6 ranges.
If your own server sends mail, list its ip4 or ip6 directly.
Send newsletters from news.example.com with its own SPF record and its own 10-lookup budget.
Copying a vendor ip4 list into your record works until the vendor changes its IPs. Use a service that refreshes it.
| Term | Counts | Note |
|---|---|---|
| include, a, mx, ptr, exists, redirect | Yes | Each one is a lookup. Nested ones inside an include also count. |
| ip4, ip6 | No | Pure address match, no DNS query |
| all, exp | No | Not counted |
| Each MX host returned by mx | Yes | Every MX queried counts toward the 10, and one mx term may query no more than 10 addresses |
255
octets in a single TXT character-string; longer records are split into strings
Source: RFC 7208, 3.3
An include that points to a domain with no TXT record returns an empty answer. RFC 7208 recommends permerror after two of these, so a stale include to a vendor you dropped can break the whole record.
A suite mail platform, a CRM, a help desk, an invoicing app and a newsletter tool can each add one or more includes.
Added years ago for a server that no longer sends. Each costs a lookup, and mx can add one per MX host.
An included record can itself contain includes. You pay for all of them even though you only wrote one.
The receiver returns permerror. Because permerror is not a pass, DMARC cannot use SPF for alignment, and mail then depends on DKIM alone. Some receivers treat it like a fail.
Yes. The limit counts every DNS-querying term evaluated in the whole chain, so a single include of a large provider can consume several lookups by itself.
No. ip4 and ip6 compare the sending address directly and need no DNS query, which is why replacing a, mx or include with address ranges reduces the count.
It solves the limit but freezes vendor IP lists in your record. When a vendor adds addresses, mail from them fails until you update. Use it only with automated refresh.
More than 10 DNS-querying terms in a single evaluation. RFC 7208 counts include, a, mx, ptr, exists and redirect, including those inside included records. ip4, ip6 and all do not count.
No. Two v=spf1 records on the same name cause permerror. Use subdomains for separate senders, or reduce lookups inside the single record.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.