Skip to content
DFY Inbox Setup

SPF Record Check

Run an SPF record check on any domain: see the record, every service it allows to send, and its DNS lookups against the limit of 10.

Free · No sign-up · Results in seconds

How to check your SPF record

  1. Enter your domain above, without www or https. An email address works too.
  2. Read the record the checker found. It should start with v=spf1 and appear only once.
  3. Check the lookup count. It must be 10 or fewer.
  4. Fix anything marked as a problem in your DNS, then run the check again. Changes usually show within minutes.

What the SPF checker tests

  • One record only. Two SPF records on the same domain break SPF everywhere. This is the most common mistake we see.
  • The 10-lookup limit. Every include, a, mx, exists and redirect costs a DNS lookup, and so do the ones inside each include. Above 10, SPF fails.
  • The ending. ~all (soft fail) or -all (hard fail) are fine. +all lets anyone send as you.
  • Broken includes that point at domains with no SPF record.

SPF record syntax, part by part

PartWhat it means
v=spf1Marks the record as SPF. It must come first.
include:_spf.google.comAllows everything in another domain’s SPF record. Costs one lookup, plus any inside it.
ip4:203.0.113.10Allows one IP address or range. Costs no lookups.
a and mxAllow the servers in the domain’s A or MX records. One lookup each.
~all or -allWhat happens to everyone else: soft fail or fail. It must come last.

A correct SPF record for cold email

TypeHostValue
TXT@v=spf1 include:_spf.google.com ~all
TXT@v=spf1 include:spf.protection.outlook.com ~all

Use the first for Google Workspace, the second for Microsoft 365. Sending domains used only for cold email should list nothing else. For more services, build the record with the SPF record generator.

Frequently asked questions

How do I test my SPF record?

Enter your domain in the SPF checker above. It finds the record, validates the syntax, counts DNS lookups and flags duplicate records, broken includes and +all.

What happens if SPF has more than 10 lookups?

Receivers stop evaluating it and treat SPF as a permanent error, which usually means it fails. Remove services that no longer send for you, or replace includes with ip4 ranges.

Can a domain have two SPF records?

No. With two or more, SPF fails. Merge every service into one record that starts with v=spf1.

Should I use ~all or -all?

For cold email sending domains, ~all (soft fail) is the common choice. -all is stricter and fine once you are sure every sender is listed.

How long does an SPF change take to show?

Usually minutes, and up to a few hours depending on the TTL your DNS host uses.

Want inboxes that pass every one of these checks?

We set up Google Workspace, Microsoft 365 and Azure inboxes on your own domains, with SPF, DKIM, DMARC and MX checked by hand before you get them.