SPF Record Lookup
Enter any domain to check its SPF record. View authorized sending servers, count DNS lookups, and detect misconfigurations before they damage your deliverability.
What is an SPF Record?
SPF (Sender Policy Framework) is a DNS-based email authentication protocol defined in RFC 7208. It allows domain owners to publish a list of mail servers that are authorized to send email on their behalf.
When a receiving mail server gets an email claiming to be from your domain, it looks up the SPF record in your DNS. If the sending server's IP address matches one of the authorized mechanisms in the record, the SPF check passes. If not, the result depends on the "all" mechanism at the end of the record — typically softfail (~all) or hard fail (-all).
SPF is one of three email authentication protocols (alongside DKIM and DMARC) that are now required by Google and Yahoo for all bulk email senders. Without a valid SPF record, your emails are significantly more likely to land in spam or be rejected outright.
How to Read SPF Results
An SPF record is a single string made up of a version tag and a series of mechanisms. Here is how to interpret each part:
| Mechanism | Example | Meaning |
|---|---|---|
| v=spf1 | v=spf1 | Version identifier. Must be the first token. |
| ip4 / ip6 | ip4:192.0.2.0/24 | Authorize a specific IPv4 or IPv6 address or CIDR range. No DNS lookup required. |
| include | include:_spf.google.com | Authorize all servers listed in another domain's SPF record. Counts as a DNS lookup. |
| a | a | Authorize the IP(s) that your domain's A record points to. Counts as a DNS lookup. |
| mx | mx | Authorize the IP(s) of your domain's MX (mail exchange) servers. Counts as a DNS lookup. |
| all | -all | Default rule for senders not matching any mechanism. Qualifiers: + pass, ~ softfail, - fail, ? neutral. |
Each mechanism can be prefixed with a qualifier: + (pass, default), - (fail), ~ (softfail), or ? (neutral). The qualifier determines what happens when a sending server matches that mechanism.
Common SPF Misconfigurations
1. Exceeding the 10 DNS Lookup Limit
Each include, a, mx, ptr, exists, and redirect mechanism triggers a DNS lookup. Included domains may also have their own includes, which count toward your total. If the total exceeds 10, the SPF check returns PermError and all emails fail authentication. Fix this by replacing includes with direct IP addresses or using SPF flattening services.
2. Missing Include for a Sending Service
Every third-party service that sends email on your behalf (Google Workspace, Microsoft 365, Mailchimp, SendGrid, Smartlead, etc.) needs its own include: mechanism in your SPF record. If you add a new email provider but forget to update SPF, emails from that provider will fail the SPF check. Always check your provider's documentation for the correct include value.
3. Wrong Mechanism Order
SPF mechanisms are evaluated left to right. While order does not change the final result for most records, placing the all mechanism anywhere other than the end will cause everything after it to be ignored. Always put -all or ~all as the last mechanism in the record.
4. Using +all or ?all
Setting the all mechanism to +all (pass) means any server in the world can send email as your domain. This defeats the entire purpose of SPF. Similarly, ?all (neutral) provides no indication to receivers about unauthorized senders. Use ~all (softfail) as a minimum and -all (hard fail) for maximum protection.
5. Multiple SPF Records on One Domain
A domain must have exactly one SPF TXT record. Publishing two or more causes a PermError for every SPF check, meaning all emails fail authentication. This commonly happens when a new record is added without removing the old one. If you need to authorize additional senders, edit the existing record to include them.
Frequently Asked Questions
What is an SPF record?▼
How do I read an SPF record?▼
What does the 10 DNS lookup limit mean?▼
What is the difference between ~all and -all?▼
Can I have multiple SPF records on one domain?▼
Why does my SPF check show "No SPF record found"?▼
Related Tools
Related Reading
Monitor SPF Records Automatically
This free tool checks your SPF record on demand. Superkabe monitors SPF, DKIM, and DMARC across all your sending domains every 24 hours and alerts you before misconfigurations cause deliverability failures.
Start free trial