How to check your SPF record and fix the common errors
In short: To check your SPF record, open a free SPF Checker, enter your domain, and read the result. It shows your full record, whether the policy is a soft or hard fail, and your DNS lookup count against the limit of 10. The most common fixes are removing a duplicate SPF record, getting back under 10 lookups, and choosing the right all policy.
On this page
When should you check SPF?
Check your SPF record whenever you set up a new sending domain, add a new email tool, migrate providers, or notice mail landing in spam. Because SPF silently breaks when you exceed 10 lookups, it is worth re-checking any time you add another include: to the record.
How to check your SPF record step by step
- Open the SPF Checker. Go to the free Inboxlogy SPF Checker.
- Enter your domain. Type the bare domain, for example
yourdomain.com. - Click Check SPF. The tool reads your live DNS and finds your
v=spf1record. - Read the policy. It tells you whether you end in
~all(soft fail) or-all(hard fail), and flags if no SPF record exists. - Check the lookup count. The tool counts DNS lookups and warns you if you are near or over the limit of 10.
How to fix the most common SPF errors
Three problems cause most SPF failures:
- Two SPF records. Merge them into one. Multiple
v=spf1records cause a permerror. - Too many lookups. Remove unused
include:entries, or replace services you no longer use. If you are stuck, consider SPF flattening. - Wrong policy. If legitimate mail is being rejected, you may be on
-allbefore every sender is listed. Move to~alluntil your setup is complete, then tighten.
To build a clean record from scratch, use the SPF Generator, then re-check.
What to check after SPF
SPF is one of three authentication records. Once it passes, verify your DKIM signature and your DMARC policy. All three need to be in place and aligned for the best inbox placement on cold email.
Check and fix your SPF record
See your record, policy and DNS lookup count instantly. Free, no sign-up, runs in your browser.
Open the SPF Checker →All free tools