Skip to content

When to use this tool:

Your SPF record triggers more than 10 DNS lookups (include, a, mx, redirect mechanisms each count as one lookup per RFC 7208 §4.6.4). Receivers that hit this limit return permerror, causing SPF to fail for all your mail. This tool resolves those mechanisms to their underlying IP addresses, producing a record with zero DNS-querying mechanisms — only ip4 and ip6 entries, which do not count toward the 10-lookup limit.

💡 Why does SPF have a 10-lookup limit?
RFC 7208 §4.6.4 limits SPF evaluation to 10 DNS queries triggered by mechanisms and modifiers. The terms that count: include, a, mx, exists (mechanisms) and redirect (modifier). Terms that do NOT count: ip4, ip6, and all. This limit exists to prevent SPF evaluation from becoming a denial-of-service vector — without it, a malicious SPF record could force a receiver to perform hundreds of recursive DNS queries per inbound message. When a receiver hits the limit, it MUST return permerror (RFC 7208 §4.6.4). Most receivers treat permerror as an SPF failure, which can cause DMARC alignment to fail and mail to be rejected or quarantined.