Type a tool name, for example "keyword density" or "transcript".
Inspect the published SPF record. Includes, redirects and total recursive DNS lookup counts are not evaluated.
An SPF record checker looks up the SPF record published in a domain's DNS and breaks it into readable parts. Enter a domain name, and this free tool shows the raw record, a table of every mechanism and qualifier, and warnings about common problems, so you can verify your email authentication setup in seconds.
An SPF record is a DNS TXT record that lists the servers allowed to send email for a domain. SPF stands for Sender Policy Framework and is defined in RFC 7208. When a receiving mail server gets a message, it looks up the SPF record for the sender's domain and checks whether the connecting server's IP address is on the list.
Every SPF record starts with v=spf1, followed by one or more mechanisms, and it usually ends with an all mechanism. Each mechanism can carry a one-character qualifier that tells receivers what to do when it matches. If you leave the qualifier off, it defaults to plus (pass).
| Qualifier | Name | Receiver action |
|---|---|---|
| + | Pass | Treat sender as authorized |
| - | Fail | Reject or treat as unauthorized |
| ~ | SoftFail | Accept but mark as suspicious |
| ? | Neutral | No opinion either way |
You can check any domain in a few clicks, and you do not need an account. Follow these steps:
example.com. If you paste a full address that starts with https://, the tool trims it down to the domain.Say you enter example.com and the tool returns this raw record: v=spf1 ip4:203.0.113.10 include:_spf.google.com include:sendgrid.net ~all.
The Parsed Mechanisms table lists four rows. The first is ip4 with a plus qualifier and the value 203.0.113.10, described as an authorized IPv4 address or range. The next two are include rows for _spf.google.com and sendgrid.net, each described as including another domain's SPF policy. The last row is all with a tilde qualifier, described as matching all senders.
In plain language: your own server at 203.0.113.10, Google's mail servers and SendGrid may send as example.com, and everyone else gets a SoftFail. The banner shows No local syntax warnings because the record has an all mechanism and fewer than 10 includes.
Now compare a weaker record: v=spf1 include:_spf.google.com. The table shows one include row, and the tool warns that no all mechanism or redirect modifier was found. Without a closing all, senders that match nothing get a Neutral result, so spoofed mail is not clearly marked as unauthorized.
The banner, the table and the warnings each tell you something different, and each has a clear next step.
SPF Record Found with No local syntax warnings means the record was published and none of the checks this tool runs raised a flag. Issues Detected means at least one warning appeared below the table. No SPF Record Found means the domain has no TXT record beginning with v=spf1, so you should publish one.
A trailing -all is a hard fail and the strictest policy. A trailing ~all is a SoftFail and is a common starting point while you confirm that every legitimate sender is listed. A trailing ?all is Neutral and offers little protection. A +all authorizes every sender on the internet, which defeats the purpose of SPF, so change it right away if you see it.
~all or -all, or a redirect to a domain that holds the real policy.If the Description column says Unknown mechanism, the term is not one SPF defines. This is usually a typo such as inlcude, or a stray word pasted into the record. Correct the spelling at your DNS host.
Check your SPF record any time your sending setup changes or your mail behaves oddly. These are the most common situations:
v=spf1 -all to say no server is allowed.Most SPF problems come from a small set of repeatable mistakes, and they are easy to avoid once you know them.
A domain should publish a single TXT record that starts with v=spf1. Two separate SPF records cause a permanent error under RFC 7208. If you need to add a provider, merge its include into your existing record instead of creating a second one. This tool shows the first SPF record it finds, so it will not tell you a duplicate exists. Check your DNS zone for extra v=spf1 entries if mail still fails.
SPF allows at most 10 DNS lookups per evaluation. The include, a, mx, ptr, exists and redirect terms count toward that limit, while ip4, ip6 and all do not. Each include can also trigger further lookups inside the provider's own record, so a record with only six includes can still go over. Swapping a rarely changed include for an ip4 range is a common way to save lookups.
If you are not sure every sender is listed, publish ~all first, review your mail for a few weeks, then move to -all once nothing legitimate is failing.
SPF is checked against the domain in the envelope sender, which is often a subdomain or a provider's bounce domain. If you send from mail.example.com, check that exact name, not only the root domain.
You can cross-check from a terminal with nslookup -type=txt example.com or dig TXT example.com. The output should match the Raw SPF Record box once caches have refreshed.
This tool inspects the published record only. It does not follow include or redirect targets, and it does not count the total recursive DNS lookups, so a record can show No local syntax warnings and still exceed the 10-lookup limit once all nested includes are expanded. It also does not test whether a specific IP address would pass or fail.
Treat the result as a fast first check of structure and policy. For a real message, open its headers in the email header analyzer to see whether SPF actually passed.
SPF is one part of email authentication. A matching DKIM signature lets receivers verify that a message was not altered, so run your selector through the DKIM record checker as well. If your mail still struggles to reach inboxes, see whether your sending IP or domain is listed with the blacklist checker.
Enter your domain in the Domain Name field above and click Check SPF Record to see your parsed mechanisms and warnings right now. For more domain and server safeguards, browse the security and encryption tools.
Your report has been submitted. We will look into this issue.
A VPN changes your network exit. It does not guarantee anonymity.
Themes, plugins, code, video, audio, graphics & more from 90,000+ authors.
Web Development
Design & Media
Unlimited Access
Explore Envato Market