Launch Benchmarks & Guides › Email Deliverability › Fix SPF >10 DNS Lookup PermError
Email Deliverability · 2026 Engineering Fix Guide

Fixing SPF PermError (Too Many DNS Lookups > 10) for SaaS Domains

RFC 7208 caps SPF evaluation at 10 DNS-querying mechanisms including nested includes. Crossing 11 lookups causes immediate SPF PermError across Gmail and Microsoft 365.

1. Why Common SaaS Stacks Blow Past 10 Lookups Fast

A single include: statement often hides 3 to 5 nested DNS queries. Combining Google Workspace (3–4), HubSpot (2–3), Salesforce/Zendesk (3+), and Mailchimp easily hits 12–16 lookups.

# Typical broken apex SPF (13+ recursive lookups -> PermError!):
"v=spf1 include:_spf.google.com include:spf.protection.outlook.com include:sendgrid.net include:mail.zendesk.com include:servers.mcsv.net ~all"

2. Fix #1 — Move Third-Party Senders to Subdomains

Send transactional mail from mail.yourdomain.com and marketing campaigns from news.yourdomain.com. Each subdomain gets its own fresh 10-lookup SPF budget and isolates sender reputation.

3. Fix #2 — Remove Dead Includes & Flatten Static Ranges

Strip legacy tools you no longer pay for, remove redundant a/mx mechanisms, and test your live include tree right now with our Free Online SPF >10 Lookup Flattener. To avoid silent bounces when cloud providers rotate IP ranges, pair flattened SPF with InboxShield Pro's scheduled 6-hour GitHub Actions auto-re-flattener.

# Audit exact recursive SPF lookup count right now:
npx github:zColdWater/inboxshield-cli audit yourdomain.com

Run a Live 3-Engine Launch Audit on Your Domain (Free, Zero Signup)

Enter your domain once to audit Security Headers & JS Secrets + Email DNS (SPF/DKIM/DMARC) + AI Search (/llms.txt) concurrently inline, or jump directly to any single flagship tool:

Frequently Asked Questions

Do ip4: and ip6: directives count toward the 10 SPF DNS lookup limit?

No. Only DNS-querying mechanisms (include, a, mx, ptr, exists, redirect) count toward the 10-lookup ceiling.

Can I publish two separate v=spf1 TXT records to get 20 lookups?

Never. Publishing two v=spf1 TXT records on the same host causes an instant RFC 7208 PermError on every mail server.

Fix SPF/DKIM/DMARC in Minutes — Launch Special $2 Once (was $9)

InboxShield v7.0 Web Pro ($2 Launch Special, was $9 one-time, zero install) unlocks zero-conflict 5-registrar DNS fix records (Cloudflare, GoDaddy, Namecheap, Aliyun, DNSPod), recursive SPF flattening, 50-domain online batch CSV export, and printable A4 PDF audit reports directly in your browser. 14-day refund guarantee.

Unlock InboxShield — $2 (was $9) → Direct Multi-Chain Checkout → Complete 3-App Suite: $5 Once (was $29) →

Live SaaS Benchmark Examples

Cursor (cursor.com · 90/100)Vercel (vercel.com · 79/100)Supabase (supabase.com · 95/100)Resend (resend.com · 95/100)Stripe (stripe.com · 95/100)Cal.com (cal.com · 90/100)PostHog (posthog.com · 78/100)Linear (linear.app · 86/100)

More Launch Troubleshooting Guides

Fix Resend Emails Going to SpamNext.js llms.txt Generator GuideGmail 2026 DMARC p=reject RolloutAI Crawler robots.txt Guide (2026)USPTO Class 9 & 42 Trademark CheckGoogle Workspace SPF/DKIM/DMARCFix AWS SES / Postmark DMARC AlignmentSaaS JSON-LD Schema for AI SearchAvoid Domain Front-Running via RDAP