Early Holiday Sale20% off your first 3 months with codeSAVE20Ends Nov 20

Free ToolsSPF Record Checker

SPF Record Checker

Look up any domain's SPF record and check it for the problems that break email authentication: syntax errors, duplicate records and the 10 DNS lookup limit.

Free, no sign-up. The lookup runs in your browser.

What is an SPF record?

An SPF record is a TXT record in a domain's DNS that lists the servers allowed to send email for that domain. Gmail, Outlook and other receivers check it to confirm a message really comes from you. Each domain has one SPF record, it starts with v=spf1, and evaluating it may take no more than 10 DNS lookups.

What this checker looks at

Enter a domain and the checker reads its SPF record straight from DNS, then tests it the way receiving mail servers do.

  • One record only: a second v=spf1 record makes SPF fail.
  • Syntax: every mechanism, IP range and include is well formed.
  • The ending: ~all or -all, never +all.
  • DNS lookups: every include is followed and counted against the limit of 10.
  • Dead includes: includes that point to a domain with no SPF record.

How to read an SPF record

A typical record looks like v=spf1 include:_spf.google.com ip4:203.0.113.10 ~all. Each part does one job.

v=spf1
Marks the TXT record as SPF. It must come first.
include:
Allows every server another domain lists, for example include:_spf.google.com for Google Workspace. Each include costs at least one DNS lookup.
ip4: / ip6:
Allows a specific IP address or range. These cost no lookups.
a / mx
Allows the servers in the domain's A or MX records. One lookup each.
~all
Soft fail: mail from anywhere else is accepted but marked as suspicious.
-all
Hard fail: mail from anywhere else should be rejected.

SPF checker FAQ

Should my SPF record end in ~all or -all?

Both are fine. ~all (soft fail) tells receivers to accept mail from unlisted servers but treat it with suspicion; it is the most common choice and works well alongside DMARC. -all (hard fail) tells them to reject it. Avoid ?all and never use +all, which lets any server send as your domain.

What is the SPF 10 DNS lookup limit?

Evaluating an SPF record may take at most 10 DNS lookups. Each include, a, mx, ptr, exists and redirect counts, including the ones inside included records. Above 10, receivers return a permanent error and SPF fails for every email. This checker counts them for you.

Can a domain have two SPF records?

No. If a domain publishes more than one TXT record starting with v=spf1, SPF fails. To add a new sending service, add its include to your existing record instead of creating a second one.

Does a valid SPF record get my emails into the inbox?

It is one of the requirements, not the whole answer. Gmail, Yahoo and Outlook also look for DKIM and DMARC, and they weigh the sending reputation of your domain and mailboxes. Email warm-up builds that reputation by sending and engaging with real conversations before you run campaigns.

Don't land in spam.
Make more sales.
Get started today for free.