SPF record checker
Enter your domain and in 3 seconds we tell you whether your SPF authorises the right servers and how to fix it.
Explained without jargon
SPF is a line of text in your domain's DNS listing the servers allowed to send email in your name. When Gmail receives an email from your domain, it checks that list: if the sending server is on it, fine; if not, it gets suspicious.
The most common mistakes: having no SPF, having two (there can only be one), forgetting a service that sends for you (your shop, your newsletters) or going over 10 lookups, which breaks the whole SPF.
The ending matters: «~all» marks anything not on the list as suspicious (recommended) and «-all» rejects it. «+all» lets anyone send and is like having no SPF at all.
Frequently asked questions
What is an SPF record and what is it for?
It is a DNS TXT record starting with «v=spf1» that lists the servers authorised to send email with your domain. It stops others from impersonating you and keeps your email out of spam.
Can I have two SPF records on the same domain?
No. With two or more, servers treat SPF as broken («permerror»). If you use several services, merge them into one record with several «include:» entries.
How do I write an SPF record?
Start with «v=spf1», add the services that send for you («include:_spf.google.com», «ip4:203.0.113.5»…) and end with «~all». For example: v=spf1 include:_spf.google.com ~all
What happens if I go over 10 lookups?
Each «include:», «a», «mx» or «redirect» counts as a lookup, including the ones nested inside each «include». Above 10, the whole SPF fails and it is as if you had none. Remove services you no longer use.
Which SPF do I use with Google Workspace or Microsoft 365?
Google: v=spf1 include:_spf.google.com ~all. Microsoft 365: v=spf1 include:spf.protection.outlook.com ~all. If you also send with another service, add its «include:» before the ending.


