Home / Free tools / SPF record checker

SPF record checker

Enter a domain to read its SPF record. See if it is valid, how many of the 10 allowed DNS lookups it uses, and how it ends.

Free to use. No sign-up. No card.

This tool reads public DNS and registration records from your browser. Your domain is not saved or sent to Ally Engineers.

SPF record generator

Pick the services that send email for your domain. Use the exact include your provider documents if it differs.

Services that send as your domain

What this SPF checker looks at

  • Whether the domain has an SPF record, and only one.
  • How the record ends: -all, ~all, ?all or +all.
  • The number of DNS lookups, followed through every include, against the limit of 10.
  • Use of the old ptr mechanism, which receivers discourage.

How to fix common SPF problems

No record. Add a TXT record on your domain. Google Workspace uses v=spf1 include:_spf.google.com ~all. Microsoft 365 uses include:spf.protection.outlook.com. Use the exact value your provider documents.

Two records. Merge them. Put every include in one record: v=spf1 include:_spf.google.com include:sendgrid.net ~all.

Too many lookups. Remove services you no longer use. Every tool that sends on your behalf adds includes, and old ones pile up. Where you can, send marketing mail from a subdomain with its own SPF record.

SPF is one of three

SPF only proves the sending server. Pair it with DKIM and DMARC. Run the full domain health checker, check your DMARC record and DKIM record, and read SPF, DKIM and DMARC explained for how they fit together.

More free tools

Try Ally Engineers free

Questions about SPF Record Checker and Validator

What is an SPF record?

SPF is a DNS TXT record that lists which servers may send email for your domain. Receiving servers compare the sending server with this list. If it is not on it, the message may be marked as spam or rejected.

What is the SPF 10 DNS lookup limit?

SPF allows at most 10 DNS lookups while it is evaluated. Each include, a, mx, ptr, exists and redirect counts, including the ones inside other includes. Go over 10 and SPF returns an error, so it counts as a fail.

Can I have two SPF records?

No. A domain must have exactly one SPF record. If you use several services, combine them into one record with several include items.

Should my SPF end in ~all or -all?

~all (soft fail) is the common safe choice and works well together with DMARC. -all (hard fail) is stricter and fits once you are sure every sender is listed. Avoid +all, which allows everyone.

Does SPF alone stop spoofing?

Not alone. SPF checks the hidden envelope sender, not the From address people see. DKIM and DMARC close that gap, so set up all three.

Send us a message

Tell us what you need. A real person from the team replies by email, usually within one working day.

Set up your workspace and send your first message today.