SPF record
One of the checks in every audibot report. This page says exactly what audibot reads, what passes, and how to fix it.
What audibot checks
The TXT records at the audited hostname that start with v=spf1, and whether the domain has MX records.
- Pass
One SPF record, ending in
-allor~all. - Warning
One SPF record that ends in
+allor?all, or has noallat all; or no SPF record on a domain that has no MX records. - Fail
More than one SPF record; or none on a domain that receives mail.
Why it matters
SPF lists the servers allowed to send mail as the domain. Without it, receivers cannot tell your mail from someone else's pretending to be you. Two records is a permanent error under RFC 7208, so receivers ignore both.
How do I set up an SPF record, and what is the right syntax?
Publish exactly one TXT record listing every service that sends as the domain — the mailbox provider, the newsletter tool, the app that sends receipts — and end it with -all (or ~all while you check nothing is missing). The record may trigger at most 10 DNS lookups (include, a, mx and similar). A domain that sends no mail should still say so.
Google Workspace
example.com. 3600 IN TXT "v=spf1 include:_spf.google.com -all"Microsoft 365
example.com. 3600 IN TXT "v=spf1 include:spf.protection.outlook.com -all"A server of your own plus a provider
example.com. 3600 IN TXT "v=spf1 ip4:203.0.113.5 include:_spf.google.com -all"A domain that sends no mail
example.com. 3600 IN TXT "v=spf1 -all"Check
dig +short TXT example.com | grep spf1Related tools
- SPF and DMARC checker — Review the public SPF and DMARC records for your email domain.
- SPF and DMARC generator — Generate DNS TXT records for your mail providers and DMARC policy.
- Black Friday readiness checker — Review storefront speed, HTTPS, email authentication and link previews before the sales peak.
Other checks in DNS and email
DNS and email in the methodology ·All guides
This check is one step of the website launch checklist.
How often audited websites pass this check: see the website audit benchmarks, with sample size and denominators.
Check your site
audibot runs this check and every other one in a single audit, and publishes the report with a recommendation for each finding.