SPF exceeds the 10 DNS lookup limit: how to fix it
critical
Why it matters
Every include, a, mx, ptr, exists and redirect costs one DNS lookup, including nested ones inside your providers’ records. Above 10, receivers return PermError and treat your SPF as broken.
How to fix it
- Remove includes for services you no longer use.
- Move marketing/transactional senders to a subdomain (e.g. mail.yourdomain.com) with its own SPF record.
- Replace a/mx mechanisms with explicit ip4:/ip6: ranges where the IPs are stable.
- As a last resort, flatten includes into IP ranges and monitor them for changes (we alert you when they drift).