SPF Checker
Validate an SPF record and count its DNS lookups against the limit of 10.
About the SPF Checker
SPF (Sender Policy Framework) is a TXT record listing the servers allowed to send email for a domain. Receivers check the sending server against it.
The checker follows every include and redirect, counts the DNS lookups (the standard allows at most 10; more makes SPF fail with "permerror"), and flags risky settings such as +all, ?all, the deprecated ptr mechanism and multiple SPF records.
How to use it
- Enter the domain used in the envelope sender (Return-Path), usually your main domain.
- Run the check.
- Review the lookup count, the include tree and the warnings.
Frequently asked questions
What is the SPF 10 DNS lookup limit?
RFC 7208 allows at most 10 mechanisms that cause DNS lookups (include, a, mx, ptr, exists, redirect) during evaluation. Exceeding it makes the result a permanent error, so receivers may treat your mail as failing SPF.
What is the difference between ~all and -all?
-all (fail) tells receivers to reject mail from unlisted servers; ~all (softfail) asks them to accept but mark it. With DMARC enforcing, ~all is common and safe; without DMARC, -all gives stronger protection.
Can a domain have two SPF records?
No. Multiple v=spf1 records make SPF evaluation fail with a permanent error. Merge them into one record.