SPF record checker
Enter your domain to read its SPF record, follow its includes, count the DNS lookups it costs and see what is wrong.
What SPF does
SPF (Sender Policy Framework) is a DNS record that lists the servers allowed to send email for your domain. Receiving servers check it, and mail from a server that is not listed can be marked as spam or rejected.
It only takes one TXT record, but it is easy to get wrong: a second record, a typo, or one include too many can silently break it.
The ten-lookup limit
Evaluating an SPF record is allowed to trigger at most ten DNS lookups: each include, a, mx, ptr, exists and redirect counts, including those inside the records you include. Go over and receivers return a permanent error, which many treat as a failure.
This is the most common SPF problem for domains that use several services (a marketing platform, a CRM, a helpdesk, Google Workspace). The checker follows every include and shows you the count. If you are over, remove services you no longer use or replace includes with the ip4 and ip6 ranges they publish.
Choosing the ending
The final term says what to do with mail from servers that are not listed. -all rejects it, ~all marks it as a soft fail, and ?all does nothing useful. +all, or a bare all, allows everyone and defeats the purpose. Most domains start with ~all and move to -all once they are sure every legitimate sender is listed.
Frequently asked questions
- Can I have two SPF records?
- No. A domain may publish exactly one. If you need more than one service, combine them into a single record with several include terms.
- Does SPF alone stop spoofing?
- Not completely. SPF checks the hidden envelope sender rather than the From address people see. Combine it with DKIM and a DMARC policy for real protection.
- Why does my SPF fail after adding a new service?
- Often because the new include pushed you past ten lookups. Run the checker and look at the lookup count.
More free tools
- Email checkerCheck whether an email address is real.
- Disposable email checkerFind out if an email address belongs to a disposable or temporary mail service.
- MX lookupLook up the MX records for any domain.
- DMARC checkerCheck a domain's DMARC record: policy strength, reporting address, percentage and inheritance, with plain-language advice..