Free tool·SPF check

SPF check: is your record actually valid?

Syntax, the 10 DNS lookup limit, the final mechanism: check your SPF in seconds. The test also checks DKIM and DMARC, no sign-up required.

Enter the domain only, without “www” or an email address. The test only reads public information: no email is sent, nothing is installed, and your server isn't contacted.

What the test checks

The 4 things that make SPF fail

  1. 01A single recordTwo “v=spf1” records on the same domain make the check fail: mailbox providers don't know which one to trust.
  2. 0210 DNS lookups maxEvery include, a, mx, exists or redirect costs a lookup, including those inside included services. Beyond 10, SPF returns an error (permerror) and no longer protects anything. It's the mistake most checkers miss.
  3. 03The final mechanism-all rejects any unlisted sender, ~all flags it as suspicious, ?all says nothing, and +all lets the whole world send email on your behalf.
  4. 04SyntaxA misspelled term, an invalid IP address or an include pointing to a domain that no longer exists is enough to skew the result.

Example

A correct SPF record

v=spf1 include:_spf.google.com include:servers.mcsv.net ip4:203.0.113.10 -all
  • v=spf1: the version, always first.
  • include:: authorizes a third-party service (email, email marketing).
  • ip4: / ip6:: authorizes a specific address.
  • -all: any other sender fails.

To learn more: SPF explained and the SPF, DKIM and DMARC guide.

FAQ

Everything about the SPF check

What is an SPF record?

A TXT DNS record starting with “v=spf1” that lists the servers allowed to send email for your domain. Mailbox providers receiving a message check that the sending server is on that list.

How do I check my SPF?

Enter your domain name in the tool above: it reads your SPF record from DNS, counts the DNS lookups it requires, checks the final mechanism, and also checks DKIM and DMARC.

What does “SPF permerror” mean?

A permanent error: the record is invalid, duplicated, or exceeds the 10 DNS lookup limit. Mailbox providers then treat it as missing.

-all or ~all: which should I choose?

-all is the strictest. With a DMARC policy in place, ~all is common because DMARC decides what happens to the message. Without DMARC, switch to -all once all your sending sources are listed.

Is SPF enough to stop my domain from being spoofed?

No. SPF checks the sending server, not the address shown to the recipient. You need DKIM to sign messages and DMARC, set to quarantine or reject, for spoofed messages to actually be blocked.

Is the test free and safe?

Yes. The tool only reads public DNS information: it sends no email and doesn't contact any server on your domain.