How to Create an SPF Record
Creating a New SPF Record
- Log in to your DNS host (e.g., GoDaddy, Namecheap, Cloudflare).
- Navigate to the DNS or DNS Management section.
- Click "Add Record" (or edit an existing SPF/TXT record if it exists).
- Enter the following details:
| Field |
Value |
| Type |
TXT |
| Name/Host |
@ (or leave blank if required by your DNS host) |
| TTL |
3600 (or use the default) |
| Value/Text |
Your full SPF string, ex:
v=spf1 include:_spf.google.com ~all |
Note: If you don't know which senders or IP addresses to add for the Value, you can review a list of Email Service Providers here for the SPF value to insert, or you can use our free SPF Record Generator Tool and we'll help you find which values you should include.
5. Verify your record is correctly set up by running a free SPF Record Lookup. Any issues found will be highlighted in red.
Important: Only one SPF record should exist per domain. If you have more than one, combine them into a single entry.
Records for Subdomains
If you're creating a record for a subdomain, you'll want to make sure that you specify the sub part of the domain in the Host/Name/Alias field for most DNS providers.