SPF 10-Lookup Analyzer & Flattener
Paste any SPF TXT record to audit RFC 7208 lookup mechanisms before publishing to DNS.
Understanding the RFC 7208 SPF 10-DNS-Lookup Limit
Sender Policy Framework (SPF, RFC 7208) strictly limits mail receivers to at most 10 DNS-querying mechanisms (include, a, mx, ptr, exists, and redirect) during evaluation. If your domain exceeds 10 total lookups—including nested lookups inside SaaS providers like Salesforce, HubSpot, or SendGrid—receiving mail servers return an SPF PermError, causing legitimate invoices and transactional emails to fail DMARC alignment and land in spam.
How to Fix an Over-Limit SPF Record
1. Remove unused SaaS include: entries.
2. Replace a and mx mechanisms with explicit ip4: / ip6: CIDR blocks (which consume 0 DNS lookups).
3. Isolate marketing mail onto dedicated subdomains (e.g., mail.yourdomain.com) so each subdomain gets its own fresh 10-lookup budget.