What does the SPF checker do?
This tool finds the SPF record among your domain's TXT records and runs the same checks receiving mail servers do: whether there's exactly one record, how it ends with all, and how many DNS lookups the include chain needs in total. If your mail lands in spam or you're getting "SPF fail" errors, this is the first place to look.
How to read the result
- Record: the SPF record as published in DNS. Use the Copy button to grab it for editing.
- DNS lookups bar: the number of lookups needed to evaluate the record. The limit is 10; it turns yellow at 9 and red above 10.
- What the SPF record means: what each term does: which servers it allows and which it rejects.
- Included domains: the SPF records of services added with
include, and how many lookups each one uses.
The most common SPF errors
| Error | What happens | Fix |
|---|---|---|
| Two separate SPF records | Both are treated as invalid (permerror). | Merge all services into a single v=spf1 record. |
| Over the 10-lookup limit | SPF is treated as invalid altogether. | Remove unused includes; write ip4: instead of a and mx. |
Ends with +all | Anyone can send mail as you. | Use ~all or -all. |
| Included domain has no SPF | Evaluation returns an error. | Check the service's current include value in its documentation. |
| No SPF record | Your mail may land in spam and your domain can be spoofed. | Add whichever of the examples below fits. |
Example SPF records
If you only send mail through Google Workspace:
v=spf1 include:_spf.google.com ~all
If you use Microsoft 365:
v=spf1 include:spf.protection.outlook.com -all
If you send both from your hosting server (website forms) and through Zoho Mail:
v=spf1 a mx include:zoho.com ~all
Add the record as a TXT record in your domain's DNS panel with @ as the name; check it again here after a few minutes.
In depth: What is SPF?
