SPF record checker
Paste a domain to see its SPF record, how many DNS lookups it needs, and what to fix. Free, no sign-up.
Why SPF breaks
- More than one SPF record. A domain may have exactly one TXT record starting with
v=spf1. With two, receivers return an error and SPF fails for all your mail. - More than 10 DNS lookups. Every
include:,a,mx,ptr,existsandredirectcosts a lookup, and includes can contain more includes. Past 10, SPF fails with a permanent error. This happens quietly as a company adds tools: Google Workspace, a CRM, a helpdesk, a newsletter service. +allat the end. It allows every server in the world to send as you. Use~all(soft fail) or-all(fail).- No
allat all. Without it the record doesn't say what to do with other senders. End with~all.
Fixing too many lookups
- Remove services you no longer send from.
- Send bulk or app mail from a subdomain (
notify.yourdomain.com) with its own SPF. TrivSend checks SPF on its ownbounces.subdomain, so adding TrivSend doesn't add to your main domain's lookups. - As a last resort, replace an include with the IP ranges it lists. You then have to watch for changes yourself.
Check DKIM and DMARC as well with the domain checker.