DNS Lookup

SPF Checker

Check your domain's SPF record, its include chain and the 10 DNS lookup limit, and see what causes each error.

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

The most common SPF errors

ErrorWhat happensFix
Two separate SPF recordsBoth are treated as invalid (permerror).Merge all services into a single v=spf1 record.
Over the 10-lookup limitSPF is treated as invalid altogether.Remove unused includes; write ip4: instead of a and mx.
Ends with +allAnyone can send mail as you.Use ~all or -all.
Included domain has no SPFEvaluation returns an error.Check the service's current include value in its documentation.
No SPF recordYour 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?