One Click Answers

OCAInternet

Share tool
FacebookPinterestEmail

SPF Checker

Is my SPF record valid?

Enter a domain. You see its SPF record in plain English and how many of the 10 allowed DNS lookups it uses.

About this tool & how to use it

What the SPF Checker does

Reads a domain's SPF record in plain English, follows the records it includes and counts the DNS lookups against the limit of 10.

How to use the SPF Checker

  1. Type the domain that appears after the @ in your email address, such as example.com, and press Check SPF.
  2. Read the summary and the "Worth a look" list first.
  3. Open the record at the bottom to see each term explained, including every record it includes.

Enter the domain that appears after the @ in your email address, such as example.com.

One click answer

Enter the address and your answer will appear here.

The domain you enter is sent to our server, which asks Cloudflare's public DNS service about it. We do not visit the website, keep the domain, or keep a history. Nothing you enter is sent to analytics.

Related tools

Try another answer

A row of roadside mailboxes
Photo: Daria Nepriakhina (CC0, via Wikimedia Commons)

How it works

SPF is a list, published in DNS as a text record that starts with v=spf1, of the servers allowed to send email for a domain. A receiving server looks the list up and checks whether the sender is on it. This tool asks a public DNS service (Cloudflare's) for the record, then for every record it includes or redirects to, up to 16 names, and reads them the way RFC 7208 describes.

The most useful check is the lookup count. RFC 7208 allows at most ten DNS lookups while a record is evaluated, counting one for every include, a, mx, ptr, exists and redirect term across the whole chain, not the words of the text. A record over the limit gets a permanent error. Terms such as ip4 and ip6 cost nothing. Because includes contain includes, a short record can still be over the limit, and only reading the chain shows it.

The tool also reports what the standard itself calls an error (more than one SPF record, an unknown term, an include of a name with no SPF record, an include loop) and explains the ending of the record: -all (hard fail), ~all (soft fail), ?all (neutral) and +all (everyone allowed). It does not say that mail will or will not be delivered: that depends on the receiving server, the sender's reputation, DKIM and DMARC and other checks.

Assumptions

  • The record is what a public DNS service returned once; a change you made recently can take time to appear.
  • Terms that use macros (such as %{d}) cannot be followed, so a chain that contains one is counted as "or more".
  • The checker does not test the "void lookup" limit (two lookups that return nothing), because that would need a lookup for every a, mx and exists term.
  • Only the name you enter is read. A subdomain has its own record, or none.
  • The domain you enter is sent to our server, which asks Cloudflare's public DNS service about it. We do not visit the website, keep the domain or keep a history; one-way hourly counters limit abuse.

SPF Checker example

Input: example.org, whose record is v=spf1 include:_spf.example.net ip4:203.0.113.0/24 -all, where _spf.example.net has v=spf1 ip4:198.51.100.0/24 -all

Result: example.org has one SPF record that uses 1 of 10 DNS lookups. The record ends with -all (hard fail).

SPF Checker questions

What is the 10 lookup limit?

RFC 7208 section 4.6.4 allows at most ten DNS lookups while one SPF record is evaluated. Each include, a, mx, ptr, exists and redirect term counts one, including those inside included records. Over ten is a permanent error.

Why does my record say "soft fail"?

It ends with ~all. That marks mail from servers not listed as suspicious but does not ask for it to be rejected. -all is the strict form.

Does this check that my email will reach the inbox?

No. SPF is one of several checks. DKIM, DMARC, the sender's reputation and the receiving server's own rules also matter, and this tool reads only the SPF record.

What is the difference between this and the DNS and Email Checker?

The DNS and Email Checker reviews the whole mail setup at once. This tool goes deep on SPF: it follows the includes, counts the lookups and explains every term.

Last reviewed 2026-10-03. Report an incorrect result

Got another question?

Free, no account. Answers show how they were worked out.