Run a full scan — every category, one report
The SPF Checker performs a live DNS TXT lookup for your domain's Sender Policy Framework record, parses every mechanism and modifier, counts DNS lookups, detects dangerous configurations like +all, and returns actionable results in seconds.
What is an SPF Record?
SPF (Sender Policy Framework) is an email authentication standard defined in RFC 7208. It allows domain owners to specify exactly which mail servers are authorized to send email on their behalf.
An SPF record is a DNS TXT record published at the root of your domain (yourdomain.com). When a receiving server gets an email claiming to be from your domain, it checks your SPF record to see if the sending server's IP is listed. If it is not, the email may be marked as spam or rejected.
SPF alone is not sufficient to stop spoofing because it validates the envelope sender (MAIL FROM), not the visible From: header. This is why SPF must be combined with DKIM and DMARC.
An SPF record is a DNS TXT record published at the root of your domain (yourdomain.com). When a receiving server gets an email claiming to be from your domain, it checks your SPF record to see if the sending server's IP is listed. If it is not, the email may be marked as spam or rejected.
SPF alone is not sufficient to stop spoofing because it validates the envelope sender (MAIL FROM), not the visible From: header. This is why SPF must be combined with DKIM and DMARC.
- Prevents unauthorized servers from sending email as your domain
- Validated against the envelope sender (MAIL FROM), not the From: header
- Limited to 10 DNS lookups per evaluation (RFC 7208 requirement)
- Must be combined with DKIM and DMARC for complete protection
- A single TXT record at the root domain — multiple SPF records cause failures
Why SPF is Critical for Email Deliverability
Without an SPF record, your domain is a prime target for email spoofing. Spammers can send emails from any server claiming to be from your domain, harming your reputation and damaging trust with your customers.
Beyond security, SPF directly affects email deliverability. Gmail, Outlook, Yahoo, and other major providers use SPF as a key factor in spam scoring. Domains without SPF, or with invalid SPF records, see significantly higher bounce rates and spam folder placement.
Beyond security, SPF directly affects email deliverability. Gmail, Outlook, Yahoo, and other major providers use SPF as a key factor in spam scoring. Domains without SPF, or with invalid SPF records, see significantly higher bounce rates and spam folder placement.
- Required by Google and Yahoo for bulk email senders since 2024
- Missing SPF = any server can spoof your domain
- Invalid SPF (permerror) causes some receivers to reject all your mail
- Exceeding 10 DNS lookups causes a permerror that breaks authentication
- +all (pass all) effectively disables SPF protection entirely
How This SPF Checker Works
- Validates the domain input (no private IPs, no invalid formats)
- Queries DNS TXT records at the root domain
- Identifies the record starting with "v=spf1"
- Parses all mechanisms: include:, a:, mx:, ip4:, ip6:, ptr:, exists:
- Counts DNS-lookup mechanisms and warns if the 10-lookup limit is approached or exceeded
- Evaluates the final "all" qualifier: -all (fail), ~all (softfail), +all (dangerous)
- Returns status with recommendations
How to Use the SPF Checker
- Enter your domain name (e.g., example.com) without http://
- Click "Check SPF" to run the DNS lookup
- Review the parsed mechanisms and modifiers
- Check the DNS lookup count — must stay below 10
- Review recommendations for the "all" qualifier and any issues found
Understanding SPF Mechanisms and Qualifiers
An SPF record is made up of mechanisms (what to match) and qualifiers (what action to take on a match).
| Field / Value | Meaning |
|---|---|
+all |
DANGEROUS — passes ALL servers regardless of whether they are authorized. Effectively disables SPF protection. |
-all |
FAIL — any server not explicitly listed should be rejected. This is the recommended final mechanism for strict enforcement. |
~all |
SOFTFAIL — unlisted servers are marked as suspicious but still delivered. Used during migration or testing. |
?all |
NEUTRAL — no assertion is made. Equivalent to having no SPF record for unlisted senders. |
include: |
Includes another domain's SPF record. Each include= counts as one DNS lookup toward the 10-lookup limit. |
ip4: |
Authorizes a specific IPv4 address or CIDR range. Does not count toward the DNS lookup limit. |
ip6: |
Authorizes a specific IPv6 address or CIDR range. Does not count toward the DNS lookup limit. |
a: |
Authorizes the A/AAAA records of a domain. Counts as one DNS lookup. |
mx: |
Authorizes the MX servers of a domain. Counts as one DNS lookup. |
redirect= |
Replaces the current SPF record with that of another domain. Counts as one DNS lookup. |
Common Problems & How to Fix Them
Best Practices
- Use -all (hard fail) as your final mechanism once all legitimate senders are included
- Keep DNS lookup count below 8 (well under the 10-lookup limit) to leave headroom for nested includes
- Prefer ip4: and ip6: for static IP addresses to avoid consuming DNS lookups
- Audit your SPF record every time you add or remove an email service provider
- Never use +all — it completely disables SPF protection
- Combine SPF with DKIM and DMARC for complete email authentication
- Test SPF by sending email through all authorized services and checking headers
- Use a single SPF record — never publish two TXT records starting with v=spf1
Security Recommendations
- Replace ~all (softfail) with -all (fail) once all legitimate senders are confirmed
- Remove any include: for services you no longer use to reduce attack surface
- Do not authorize entire IP ranges (large /8 or /16 CIDRs) unless strictly necessary
- Monitor your DMARC reports to identify senders failing SPF alignment
- Consider IP4 flattening to prevent lookup count issues as your provider list grows