{"id":"https://www.namesilo.com/questions/dns-and-email/what-is-the-spf-ten-dns-lookup-limit","url":"https://www.namesilo.com/questions/dns-and-email/what-is-the-spf-ten-dns-lookup-limit","title":"What is the SPF ten-DNS-lookup limit?","description":"RFC 7208 limits SPF evaluation to 10 DNS-querying terms across the evaluation. The counted mechanisms are include, a, mx, ptr and exists, plus the…","language":"en","category":"dns-and-email","datePublished":"2026-11-17","dateModified":"2026-11-19","answer":"RFC 7208 limits SPF evaluation to 10 DNS-querying terms across the evaluation. The counted mechanisms are include, a, mx, ptr and exists, plus the redirect modifier. Exceeding the limit must return permerror. The ip4, ip6 and all mechanisms do not count toward this particular term limit.","body":"What is the SPF ten-DNS-lookup limit?\n\nRFC 7208 limits SPF evaluation to 10 DNS-querying terms across the evaluation. The counted mechanisms are include, a, mx, ptr and exists, plus the redirect modifier. Exceeding the limit must return permerror. The ip4, ip6 and all mechanisms do not count toward this particular term limit.\n\nCount the evaluated policy, including nested includes\n\nThe count is not simply the number of include strings visible in the top-level TXT value. Inspect the policies those includes evaluate and remove inactive senders before considering a redesign. NameSilo can publish the TXT record; its documented add operation does not establish that the resulting SPF evaluation is valid.\n\nYour next steps\n\nTrace the complete SPF evaluation\n\nCount evaluated DNS-querying terms\n\nRemove authorization for services no longer used\n\nValidate the revised policy and real messages\n\nCount the evaluated policy, including nested includes\n\nThe count is not simply the number of include strings visible in the top-level TXT value. Inspect the policies those includes evaluate and remove inactive senders before considering a redesign. NameSilo can publish the TXT record; its documented add operation does not establish that the resulting SPF evaluation is valid.\n\nVerified detail: SPF counted terms,10 limit,permerror and noncounted terms.\n\nYour next step: Validate the revised policy and real messages.","steps":["Trace the complete SPF evaluation","Count evaluated DNS-querying terms","Remove authorization for services no longer used","Validate the revised policy and real messages"],"faqs":[],"sources":[{"name":"IETF RFC 7208 §4.6.4","url":"https://www.rfc-editor.org/rfc/rfc7208.txt#section-4.6.4"},{"name":"NameSilo Add DNS Records","url":"https://www.namesilo.com/api-reference/pages?uid=dns/dns-add-record"}],"json":"https://www.namesilo.com/questions/data/what-is-the-spf-ten-dns-lookup-limit.json","markdown":"https://www.namesilo.com/questions/data/what-is-the-spf-ten-dns-lookup-limit.md"}