Validate SPF records
in seconds
Parse mechanisms, detect errors, and confirm your email authentication is properly configured for any domain.
What is SPF?
SPF (Sender Policy Framework) is an email authentication method defined in RFC 7208. It allows domain owners to specify which mail servers are authorized to send email on behalf of their domain by publishing a special DNS TXT record.
An SPF record starts with v=spf1 followed by a series of mechanisms that define authorized senders. Common mechanisms include ip4: for IPv4 addresses, include: for third-party services, and mx to authorize the domain's own mail servers.
Each mechanism has a qualifier that determines what happens when a match is found. The record typically ends with an all mechanism that defines the default action for IPs not explicitly listed.
How to read SPF results
The SPF checker parses your record into individual mechanisms and displays them in a table with three columns:
- Qualifier — The action: Pass (+), Fail (-), SoftFail (~), or Neutral (?). Determines what happens when an IP matches this mechanism.
- Mechanism — The type of check: ip4, ip6, include, mx, a, all, etc.
- Value — The specific IP, domain, or network associated with the mechanism.
The tool also warns you about common issues like missing SPF records or having multiple SPF records (which violates the RFC and causes authentication failures).
SPF best practices
Keep your SPF record under the 10 DNS lookup limit — use IP addresses when possible
End your SPF record with "-all" (hard fail) in production for maximum protection
Use "include:" to authorize third-party services like Google Workspace, Microsoft 365, or SendGrid
Never publish more than one SPF record per domain — combine all mechanisms into a single record
Regularly audit your SPF record to remove decommissioned servers and outdated includes
Frequently asked questions
What is an SPF record?
How does SPF authentication work?
What do the SPF qualifiers (+, -, ~, ?) mean?
What is the SPF 10-lookup limit?
Should I use -all or ~all in my SPF record?
Can I have multiple SPF records?
How does SPF relate to DKIM and DMARC?
Verify email addresses, not just DNS records
SPF checks tell you about domain authentication — VerifyKit tells you if the mailbox actually exists. Verify emails before you send.