In short. No TXT record starting with v=spf1 was found for the domain. In SPF terms the result is none: nothing was published, the record sits under the wrong name, or it is not a valid SPF record. Publish one TXT record, at the domain used in the sender address, listing every service that sends for you.
RFC 7208 says SPF records are published as DNS TXT records only (section 3.1) and must begin with exactly v=spf1; anything else is discarded (section 4.5). When the resulting set holds no record, the check produces none; when it holds more than one, it produces permerror (section 4.5). Microsoft explains that SPF validates the envelope sender (MAIL FROM) domain, and both Google and Microsoft state that each domain or subdomain needs its own record.
This page does not describe how a particular tool words or scores the result: read your tool's help for that. The fixes below follow the RFC and the Google and Microsoft guides. If your tool reports a different SPF problem, such as too many lookups or two records, that is a permerror, a different case from "not found".
Last verified: November 28, 2026, against RFC 7208 and the official help pages of Google Workspace and Microsoft 365.
How to fix it
- Query the domain. Run
nslookup -type=TXT yourdomain.comand look for a value beginning withv=spf1. - Test the right name. SPF checks the domain of the MAIL FROM address (Microsoft), and a subdomain such as
news.yourdomain.comneeds its own record (Google and Microsoft). Check the domain the sending service really uses. - Check the host field. Google says to enter
@for the root domain, or the subdomain's name for a subdomain. - Check type and spelling. The type must be TXT (RFC 7208, section 3.1) and the value must start with exactly
v=spf1. Microsoft lists typical slips: a trailing period after a domain name,include=instead ofinclude:, and a space after the colon. - Publish one record that lists every sender. For Google Workspace alone, Google gives
v=spf1 include:_spf.google.com ~all. For Microsoft 365 alone, Microsoft givesv=spf1 include:spf.protection.outlook.com -all. When several services send for the domain, add each service'sinclude:to the same record, never to a second one. - Wait and re-test. Google says SPF can take up to 48 hours to start working. Keep the total within 10 DNS lookups (RFC 7208, section 4.6.4).
If the domain sends no mail
Microsoft recommends v=spf1 -all for registered domains that are not used for email, so that no sender is authorized.
Free tool. SPF checker
Check your domain for free. AttackScout reads your public SPF, DKIM and DMARC records and tells you what to change. Run the free check
Frequently asked questions
Does a missing SPF record make my mail bounce?
The standard only defines the result none; what the receiver does with it is its own decision. DMARC can still pass through DKIM: Microsoft states that a message passes DMARC if the SPF or the DKIM check passes.
Do my subdomains need their own SPF record?
Yes. Microsoft states that the record of contoso.com does not cover marketing.contoso.com, and Google says each domain must have its own SPF record.
Should I end with ~all or -all?
RFC 7208 defines ~ as softfail and - as fail. Google's example uses ~all, while Microsoft recommends -all when DKIM and DMARC are also in place.
What is the difference between "not found" and a permerror?
"Not found" is the result none: no SPF record was retrieved. A permerror means a record was found but cannot be used, because there are two of them or because evaluation needs more than 10 lookups.
Related pages
Sources
Accessed on 11/28/2026.
- IETF, RFC 7208 (SPF): https://www.rfc-editor.org/rfc/rfc7208
- Google Workspace, Set up SPF: https://knowledge.workspace.google.com/admin/security/set-up-spf
- Microsoft Learn, Set up SPF in Microsoft 365: https://learn.microsoft.com/en-us/defender-office-365/email-authentication-spf-configure
- Microsoft Learn, Set up DMARC in Microsoft 365: https://learn.microsoft.com/en-us/defender-office-365/email-authentication-dmarc-configure