How to create an SPF record
- Pick every service that sends email using your domain in the From address.
- Copy the record and open your DNS host (GoDaddy, Namecheap, Cloudflare, Porkbun and others).
- If a record starting with
v=spf1already exists, edit it. Never add a second one. - Otherwise add a TXT record with host
@and the value above. - Check it with the SPF checker once it is live.
SPF records for common email providers
| Type | Host | Value |
|---|---|---|
| TXT | @ | v=spf1 include:_spf.google.com ~all |
| TXT | @ | v=spf1 include:spf.protection.outlook.com ~all |
| TXT | @ | v=spf1 include:zohomail.com ~all |
The first is for Google Workspace, the second for Microsoft 365 and the third for Zoho Mail (EU accounts use include:zohomail.eu). If more than one service sends for the domain, combine their includes into one record with the generator above.
The full walkthrough for each registrar is in our SPF, DKIM and DMARC setup guide.