Built for agencies and B2B sales teams.

Start free →

Free SPF Record Checker

Check your domain's SPF TXT record, review common configuration problems, and understand DNS lookup limits. Get practical guidance without signing up.

Live SPF record lookupDNS lookup countPlain-English findings
SPF CheckerFreeExample result
PASS
92/100

Example: SPF record found

1 record3/10 lookups~all SoftFail
v=spf1 include:_spf.google.com ~all
DNS lookups3 of 10
Lookup statusWithin the limit
TermPurposeDNS lookup?Finding
v=spf1Version tagNoValid
include:_spf.google.comAuthorizes Google's serversYesValid
~allPolicy for everything elseNoValid
Single SPF record found
Lookup count is within the limit
SoftFail policy in use
How it works

How to check an SPF record

  1. 01

    Check the sending domain

    Enter the domain used in your envelope sender (the return-path), not a full email address.

  2. 02

    Review the record and includes

    Read the findings, the DNS lookup count and the policy qualifier. Record details can be limited unless you are signed in.

  3. 03

    Fix DNS and re-test

    Make changes at your DNS provider, wait for DNS caching to expire and run the check again. This tool only reads DNS and never edits it.

What it checks

What the SPF Checker checks

Single-record validation

Flags a missing SPF record and more than one v=spf1 record at the same name.

Syntax checking

Flags unknown mechanisms, invalid domain or IP values, duplicate terms and the discouraged ptr mechanism.

DNS lookup counting

Counts include, a, mx, ptr, exists and redirect terms against the RFC 7208 limit of 10.

Recursive include review

Follows include and redirect targets to count nested lookups and spot targets that publish no SPF record.

Policy strength

Explains -all, ~all, ?all and +all, and flags +all as unsafe.

Plain-English findings

Each result explains what was detected and what to review.

Reading results

What -all, ~all, ?all and +all mean

The ending qualifier sets the SPF result for servers the record does not list. The receiving server decides what to do with that result, and many combine it with DKIM and DMARC.

QualifierNameMeaningWhen to use it
-allFailStates that unlisted senders are not authorizedOnce every legitimate sender is covered and tested
~allSoftFailSuggests unlisted senders are probably not authorizedWhile you are still validating, or as a cautious long-term choice
?allNeutralMakes no claim about unlisted sendersRarely useful
+allPassAuthorizes every serverNever, it removes the protection SPF provides

Errors, warnings and incomplete results

A result is only as reliable as the DNS answers behind it, so the checker separates three situations.

Errors

Problems that can make SPF evaluation fail or be unsafe: no SPF record, more than one SPF record, more than 10 DNS lookups, or +all.

Warnings

Risky or hard-to-maintain setups that may still work: unknown or malformed terms, ptr, ?all or no all term, 8 or more lookups, an include or redirect target without SPF (review it promptly), or a very long record.

Incomplete results

A DNS timeout, a failed lookup or a very deep include chain can stop the analysis. An incomplete result is not proof that a record is missing or broken, so run the check again or confirm with your DNS provider.

DNS lookup limit

The SPF 10 DNS lookup limit explained

RFC 7208 limits how many DNS-querying terms a receiver has to evaluate for one SPF check. Go over the limit and the result is a permanent error (permerror), even if every term is valid.

Terms that count

include, a, mx, ptr and exists, plus the redirect modifier. Each one needs a DNS query, so each adds to the total.

Terms that do not count

ip4, ip6, all and exp need no DNS lookup for evaluation, so listing more IP ranges does not use up the budget.

Nested terms count too

The limit covers the whole evaluation. Every term inside an included or redirected record adds to the same total, so a single include can use several lookups.

Example and what this checker counts

If your record has include:mail.example and include:crm.example, and each of those records contains two more include terms, the total is 2 + 4 = 6 of 10. This checker follows include and redirect targets, marks 8 or more lookups as close to the limit and more than 10 as exceeded. Very deep or unreachable chains may be reported as incomplete instead of guessed. It does not evaluate the separate RFC 7208 limits for MX and PTR name lookups or its recommended limit of two void lookups, so also review records that sit near 10 with your provider's documentation.

Email authentication

SPF, DKIM and DMARC: how they differ

They answer different questions about the same message, and they work best together.

SPF

Lists which servers may send for the domain in the envelope sender (the return-path). It is published as a DNS TXT record and checked against the connecting server's IP address.

DKIM

Adds a cryptographic signature to the message, verified with a public key published in DNS. Because it is tied to the message, not the sending IP, it often survives forwarding better than SPF.

DMARC

Ties SPF or DKIM to the visible From domain through alignment, and publishes the policy and reporting address. DMARC passes when at least one of them passes and aligns.

Check DKIM Check DMARC Check all email DNS records

Common issues

Common problems and how to fix them

Multiple SPF records

Merge them into one record. More than one v=spf1 record at a name makes SPF evaluation return a permanent error.

Too many lookups

More than 10 DNS-querying terms, including nested ones, causes a permerror even when the record looks fine. See the lookup limit section above.

Unsafe +all

Authorizes every host and defeats the purpose of SPF.

Broken include

An include or redirect target that publishes no SPF record can make the whole evaluation fail. Confirm the exact domain in your provider's instructions.

Neutral or incomplete policy

?all, or a record with no all term, gives receivers little to act on.

Deprecated ptr mechanism

RFC 7208 advises against ptr. Replace it with explicit includes or IP ranges if you know the sending sources.

Change SPF safely

An SPF pass is not an inbox guarantee. Inbox placement also depends on DKIM, DMARC, reputation and content. This checker only reads DNS and never changes your records.

  • List every service that sends mail for the domain first, including marketing, CRM, support and outreach tools.
  • Save a copy of the current record, change one thing at a time and follow your provider's own SPF instructions.
  • Do not remove an include only because it looks unfamiliar. Confirm the sender is unused first, for example from DMARC reports.
  • Be cautious with SPF flattening. Fixed IP lists go stale when a provider changes its ranges, so only use it with a plan to keep it updated. Moving a sender to a subdomain is often safer.
  • After publishing, wait for DNS caching to expire and run the check again.
Use cases

When to run this check

Provider migration

Re-check SPF after you move mailbox or sending providers.

Adding a sending platform

Confirm the new include fits within the lookup budget.

Sending domain review

Review each outreach domain's SPF record before you scale sending.

Agency audits

Check client domains in minutes.

FAQ

SPF Checker FAQ

Still unsure? Read the DevBoxy blog or contact the team.

What does an SPF record checker do?

It performs an SPF record lookup and then validates what it finds. DevBoxy flags a missing record, more than one SPF record, unknown or malformed terms, risky qualifiers such as +all and ?all, and how many DNS lookups the record needs. It reads DNS only and does not change your records.

How do I check an SPF record?

Enter the domain you send email from in the checker above and run the check; it performs an SPF DNS lookup of the TXT record. Start with the domain used in your envelope sender (return-path). You can also query the TXT record yourself with a DNS lookup tool and look for the value that starts with v=spf1.

What is an SPF record?

It is a DNS TXT record, starting with v=spf1, that lists the servers and services allowed to send email for a domain. Receiving servers compare the connecting server against that list.

What is the SPF 10 DNS lookup limit?

RFC 7208 limits SPF evaluation to 10 DNS-querying terms: include, a, mx, ptr, exists and the redirect modifier. Terms inside included or redirected records count toward the same total, so one include can use several lookups. Exceeding the limit produces a permanent error (permerror). ip4, ip6 and all do not count.

Why can one include use several lookups?

The included record can contain its own include, a and mx terms, and each of them adds to the same budget of 10. The checker follows include and redirect targets to count these nested lookups.

Can I publish two SPF records?

No. More than one v=spf1 record at the same name makes SPF evaluation return a permanent error. Merge the senders into a single record.

Should I use ~all or -all?

-all states that unlisted senders are not authorized, and ~all suggests they probably are not. Receivers decide what to do with either result and often weigh DKIM and DMARC as well. ~all is a common choice while you confirm every sender, and -all fits once all legitimate senders are covered and tested.

Why is +all a serious SPF problem?

It authorizes every server to send for your domain, which removes the protection SPF is meant to provide.

What is the difference between SPF, DKIM and DMARC?

SPF lists which servers may send for the envelope sender domain. DKIM adds a signature that receivers verify with a public key in DNS. DMARC checks that SPF or DKIM aligns with the visible From domain and sets the policy and reporting address.

Does SPF authenticate the From address users see?

Not directly. SPF checks the envelope sender (return-path) domain. DMARC adds the alignment check against the visible From domain.

What does an incomplete or failed lookup mean?

A DNS timeout, a failed lookup or a very deep include chain can stop the analysis before it finishes. That is not proof the record is missing or broken, so run the check again or confirm the record with your DNS provider before changing anything.

Does a PASS result mean my email will reach the inbox?

No. SPF is one signal. Inbox placement also depends on DKIM, DMARC, sender reputation, content and recipient settings.

Pair DNS checks with list verification.

Healthy authentication protects your domain. Clean contacts protect your sender reputation. Cleaner outreach starts with better data.