UltyMailer
Back to all guides
TroubleshootingEmail AuthenticationUpdated November 18, 2026

How to Fix SPF PermError & Stay Under 10 Lookups

Executive Summary · 6 min read

SPF PermError typically breaks authentication in two ways: publishing two separate v=spf1 TXT records at the root domain (strictly forbidden by RFC 7208) or chaining nested include/redirect mechanisms past the 10-DNS-lookup ceiling.

Key Takeaways

  • Combine all authorized providers into ONE single v=spf1 TXT record per hostname.
  • Count every recursive include:, a:, mx:, ptr:, and exists: directive toward the strict 10-lookup cap.
  • Avoid deprecated ptr mechanisms and keep ~all or -all cleanly at the end.

Two Mistakes That Instantly Break SPF

  1. Multiple SPF TXT Records: Adding a new TXT record every time you adopt a SaaS marketing or helpdesk tool guarantees an RFC 7208 permanent error. Always edit and merge mechanisms inside the existing v=spf1 ... ~all record.
  2. Exceeding 10 DNS Lookups: Each include:vendor.com counts as 1 lookup plus every nested include: inside that vendor’s own SPF record. Three heavy SaaS suites can easily total 12–15 nested lookups and silently fail.

Validate live TXT consolidation immediately via UltyMailer’s SPF Checker Tool.

Put this guide into practice on your domain

Test your SPF/DKIM/DMARC records, analyze raw email headers, or simulate campaign volume with UltyMailer’s free tools.