What is an SPF record?
SPF (Sender Policy Framework, RFC 7208) is a TXT record that lists the servers allowed to send email for your domain. Receiving servers compare the sending IP with this list. If the IP is not on it, the message gets a fail or softfail result, which makes spoofing your domain harder and helps DMARC decide what to do.
How to use this SPF record check
Enter a domain, an email address or a URL and press Check SPF. The checker reads the TXT records of the domain, follows every include: and redirect=, and adds up the DNS lookups. The page URL updates so you can share the result.
How to read the result
- Lookups — receivers stop after 10 DNS lookups and SPF permanently fails. Mechanisms marked with * count.
- Void lookups — lookups that return nothing. More than 2 also cause a permanent error.
- Qualifier —
+pass,-fail,~softfail,?neutral. - Include tree — every record pulled in by your includes, with its own lookup count.
Common SPF fixes
Keep exactly one record and end it with ~all or -all. A Google Workspace domain that also sends through Mailchimp needs only:
v=spf1 include:_spf.google.com include:servers.mcsv.net ~all
Never use +all — it authorizes every server on the internet. Replace ptr with ip4:/ip6: ranges. If you go over 10 lookups, remove services you no longer use or replace includes with the IP ranges they publish (keep those up to date). Then check that a DMARC record exists.
FAQ
Should I use ~all or -all?
Both protect you. -all (fail) tells receivers to reject unlisted senders; ~all (softfail) asks them to accept but mark the mail. With DMARC in place, ~all is common and safe; -all is stricter.
Can a domain have two SPF records?
No. With more than one v=spf1 record receivers return a permanent error and SPF fails. Merge all senders into a single record.
What counts toward the 10 DNS lookup limit?
include, a, mx, ptr, exists and redirect each cost one lookup, including those inside included records. ip4, ip6 and all are free.
Does a passing SPF check mean my mail reaches the inbox?
No. SPF is one signal. Receivers also look at DKIM, DMARC, reputation and content. This tool only checks that the record is valid and within limits.