SPF record checker
Find and validate the SPF record of a domain.
What this checker does
The SPF record checker looks up the DNS TXT records for a domain, finds the SPF record, and checks it for basic structural issues. SPF, or Sender Policy Framework, is an email authentication method that helps receiving servers verify whether a sending server is authorized to send mail for a domain.
The tool reports the record it finds and validates a few common rules: the record must start with v=spf1, use valid separators, include an all mechanism, and contain only recognized mechanisms.
Why SPF matters
Without SPF, anyone can send email that claims to come from your domain. Receivers have no easy way to distinguish legitimate mail from forgeries. SPF gives receiving servers a way to check the sending server’s IP address against a published list.
SPF is not a complete solution on its own. It works alongside DKIM and DMARC. But a missing or malformed SPF record can cause legitimate mail to be rejected or marked as spam, and it weakens your domain’s email reputation.
Understanding the validation messages
- Missing v=spf1 prefix: the record does not begin with the required version identifier. Receivers may ignore it.
- Invalid separator: SPF mechanisms are separated by spaces. Unexpected characters can break parsing.
- Missing all mechanism: the
allmechanism defines the default action for IPs not matched by other mechanisms. Without it, the policy is incomplete. - Invalid mechanism: the record contains a term that is not a recognized SPF mechanism or modifier.
These checks cover basic syntax. A record can pass them and still be too permissive or too restrictive for your sending infrastructure.
Reading the result
The tool shows the SPF record found for the domain and any validation messages. If no record is found, the domain has no SPF policy, which means receivers have no guidance for validating its mail.
A syntactically valid record is not necessarily correct. The mechanisms must match the servers that actually send mail for your domain. A record that authorizes too many sources weakens protection; one that omits legitimate sources can cause delivery failures.
Practical guidance
- Include all legitimate senders: list the services and servers that send mail for your domain.
- End with a clear all mechanism:
-allis strict and rejects unauthorized senders;~allmarks them as soft fail. Choose based on your setup and monitoring. - Avoid multiple SPF records: a domain should have one SPF record. Multiple records cause errors.
- Combine with DKIM and DMARC: SPF alone is not enough for robust email authentication.
Limitations
The checker validates basic syntax and reports the record it finds. It does not test actual mail delivery, verify that all sending sources are included, or evaluate the record against your full email infrastructure. It also does not check DKIM or DMARC.
Use the result as a first-pass check, then review your email authentication setup with your mail provider or administrator.
Similar tools
Find A, AAAA, CNAME, MX, NS, TXT and SOA DNS records for any hostname in one place.
Find plaintext email addresses exposed in a webpage source.
Look up domain registration details: registrar, nameservers, key dates and domain age.
Popular tools
Check which images on a page are missing alt attributes for accessibility and SEO.
Check which images on a page use lazy loading and which load immediately.
Measure the total size of a webpage, including all of its resources.
Check whether a page is blocked from search indexing by meta tags, headers or robots.txt.