Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Check SPF (Sender Policy Framework) records for any domain. Validate your email authentication configuration instantly — no signup required.
SPF (Sender Policy Framework) is a DNS TXT record that specifies which mail servers are authorized to send email on behalf of your domain. It is one of the key email authentication protocols, alongside DKIM and DMARC, that helps prevent email spoofing and phishing attacks.
An SPF record starts with v=spf1 and contains a list of mechanisms that define which servers can send mail for the domain. For example:
v=spf1 include:_spf.google.com ~all
This record allows Google's mail servers to send email on behalf of the domain, and soft-fails everything else.
Each mechanism in an SPF record can have a qualifier prefix that determines what happens when a match occurs:
| Qualifier | Symbol | Meaning |
|---|---|---|
| Pass | + | Authorized (default if no qualifier) |
| Fail | - | Not authorized — reject the email |
| SoftFail | ~ | Not authorized — accept but mark suspicious |
| Neutral | ? | No assertion — treat as if no SPF exists |
An SPF (Sender Policy Framework) record is a DNS TXT record that specifies which mail servers are authorized to send email on behalf of a domain. It helps prevent email spoofing and phishing.
An SPF Checker queries the DNS TXT records for a given domain, identifies the SPF record (starting with v=spf1), and parses its mechanisms such as include, ip4, ip6, mx, a, and the all qualifier.
The ~all mechanism means SoftFail — emails from non-authorized servers will be accepted but marked as suspicious. -all means hard fail (reject), +all means allow all (not recommended), and ?all means neutral.
No, a domain should have only one SPF record. Having multiple SPF records is a configuration error per RFC 7208 and may cause email delivery issues. Multiple records should be merged into one.
SPF has a limit of 10 DNS lookups (including include, a, mx, ptr, exists, and redirect mechanisms). Exceeding this limit causes a PermError, which may result in email delivery failures.
Did you find this page helpful?
Start your journey with TestMu AI
Get 100 minutes of automation test minutes FREE!!