Free SPF Record Checker
Inspect your domain's Sender Policy Framework (SPF) record in seconds. Review policy qualifiers, direct DNS-dependent terms, and multiple record conflicts. This tool does not expand nested includes or certify the full RFC 7208 lookup limit.
Free Security Tool
SPF Record Checker
Inspect your domain's Sender Policy Framework (SPF) record. Find multiple records, review direct DNS-dependent mechanisms and policy qualifiers, and spot dangerous +all settings. Included and redirected policies are not expanded in this check.
The RFC 7208 10-Lookup Limit Rule
RFC 7208 limits DNS-dependent terms to 10 along an SPF evaluation path. This tool counts terms in the root record only. Nested include and redirect policies can add more, so this count cannot certify compliance with the limit.
Your SPF analysis will appear here
Enter your domain above to inspect its SPF TXT record, direct mechanisms, listed IP ranges, and policy qualifier.
What is an SPF Record and How Does It Work?
Sender Policy Framework (SPF) is an email authentication protocol established in RFC 7208. It allows domain owners to publish an authorized list of mail servers and IP addresses that are permitted to send emails carrying their domain name in the SMTP MAIL FROM envelope.
When a mail server receives an incoming email, it performs a DNS TXT lookup on the sender domain, extracts the SPF record, and checks whether the transmitting IP is authorized. If the sender IP matches, the email receives an spf=pass header. If it fails, the email is flagged or rejected based on your configured policy.
The RFC 7208 10-DNS Lookup Limit Explained
To protect DNS resolvers from denial-of-service amplification attacks, the SPF specification places a ceiling of 10 DNS-dependent terms along an evaluation path. The result above counts only terms in the root SPF record.
Count Toward 10 Limit (+1)
- •
include:domain.com - •
aanda:domain.com - •
mxandmx:domain.com - •
redirect=domain.com - •
exists:domain.com
Do NOT Count (0 Lookups)
- •
ip4:192.0.2.1/24(Direct IP) - •
ip6:2001:db8::/32(Direct IPv6) - •
all,~all,-all - •
v=spf1version tag
If a full SPF evaluator finds too many lookups: Review nested includes and remove obsolete services first. Replacing an include with direct IP blocks may help, but those IPs must be kept current as your email provider changes them.
SPF Qualifier Cheat Sheet: -all vs ~all vs ?all vs +all
The suffix of your SPF record determines how receiving mail systems enforce unauthorized senders.
| Qualifier | Policy Name | Receiver Action | Security Level |
|---|---|---|---|
| -all | HardFail | Rejects and bounces failing emails immediately. | Strict & Secure |
| ~all | SoftFail | Accepts email but routes to spam/junk folder. | Recommended with DMARC |
| ?all | Neutral | No policy assertion; accepted without flags. | Weak Protection |
| +all | Allow-All | Authorizes any computer on earth to send mail. | CRITICAL DANGER |
How SPF, DKIM, and DMARC Work Together
SPF alone cannot prevent email spoofing completely because it only validates the hidden SMTP envelope address (Return-Path), not the visible "From:" header displayed in your email client.
Verifies sender server IP against the domain DNS record.
Cryptographically signs email content to prevent tampering in transit.
Enforces SPF/DKIM alignment with the visible From address and sets policies.
Related Security Tools
Explore our free webmaster security suite:
Automate Your Website Compliance
Beyond DNS security, does your website meet ADA & WCAG 2.2 accessibility standards? Find out with our AI-powered site audit.
Scan Your Website FreeFrequently Asked Questions About SPF Records
Everything you need to know about SPF syntax, lookup limits, and email spoofing defense.
SPF (Sender Policy Framework) is a standardized DNS TXT record that explicitly enumerates all mail servers and IP addresses permitted to send emails on behalf of your domain. When receiving servers (like Gmail, Microsoft Outlook, or Yahoo) receive an email claiming to come from your address, they verify whether the sender's IP matches your SPF list. Without an SPF record, anyone can forge your domain name to execute deceptive phishing attacks.