SPF Checker
Parse your domain’s SPF record, walk recursive include: and redirect= chains, and verify you stay within the strict 10 DNS lookup limit.
Email domain
SPF audit & lookup count
How to use SPF Checker
- Enter a sending domainType the domain used in your Return-Path / From address, such as example.com.
- Expand includesOur Worker reads v=spf1 TXT records and walks nested include: and redirect= targets over DoH.
- Review lookup budgetCheck the X / 10 DNS lookup counter, void lookup count, and any +all, duplicate-SPF or syntax warnings.
Limits and how it works
- Each IP address can run about 20 lookups per minute and 200 per hour. The limit is counted separately in each Cloudflare data center, so it is approximate.
- What you type (a domain, URL or IP address) is sent to our Cloudflare function and from there to the public services named on this page. We do not store it in a database or log it on purpose; Cloudflare keeps its standard short-lived request logs.
- Recursive expansion is capped at 25 DNS fetches to prevent abuse; very deep broken trees stop at 25 fetches.
- SPF macros such as %{i} or %{d} depend on per-message SMTP context and are flagged rather than statically expanded.
- This tool inspects published DNS records only; it never sends email.
Understanding the SPF 10-lookup limit
Sender Policy Framework (SPF, RFC 7208) lists which IP addresses and third-party services are authorized to send email for your domain. Every include, a, mx, ptr, exists and redirect term triggers a DNS lookup.
RFC 7208 enforces a hard ceiling of 10 DNS-querying mechanisms per evaluation (and recommends at most 2 void lookups). Exceeding 10 causes receiving mail servers to return a permanent error (PermError), hurting deliverability.
Frequently asked questions
Which SPF mechanisms count toward the 10-lookup limit?
include, a, mx, ptr, exists and redirect= each count as at least 1 DNS lookup. ip4, ip6, all and exp= do not count.
What happens if I have two v=spf1 TXT records?
RFC 7208 forbids multiple SPF records on the same domain; mail receivers treat that as a PermError. Merge them into a single TXT record.
Should I end SPF with -all or ~all?
Both are common (-all is strict fail, ~all is softfail). Avoid +all (allows anyone to spoof) and ?all (neutral).
What is a void lookup?
A DNS query from an SPF mechanism that returns NXDOMAIN or zero answers. RFC 7208 sets a default limit of 2 void lookups.
Related tools
All toolsDMARC Checker
Check _dmarc DNS records, policy enforcement, alignment and reporting URIs.
DKIM Checker
Check DKIM DNS records by selector or probe common selectors, and inspect key strength.
MX Lookup
Find a domain's mail servers, priorities and their IP addresses.
TXT Record Lookup
List TXT records and spot SPF, DMARC, DKIM and verification tokens.