SPF record generator for Google, Microsoft 365 and more
Tick the services that send email for your domain, add any servers of your own, and copy a correct SPF record with where to put it in DNS.
Updated
Your SPF record
v=spf1 include:_spf.google.com ~all
Add it to your DNS
- Type
- TXT
- Host / name
- @ (or leave blank)
- TTL
- Automatic, or 1 hour
Paste the record as the value, in your domain registrar or DNS host (Cloudflare, GoDaddy, Namecheap, Squarespace and so on). Changes usually show within an hour.
- Note1 DNS lookup here, plus any inside the includes. SPF allows 10 in all; check the finished record with the SPF checker.
- NoteA domain can have only one SPF record. If yours already has one, replace it with this rather than adding a second.
How to use it
- 1Tick every service that sends email as your domain.
- 2Add your own server IPs or other includes if you have them.
- 3Copy the record and add it to your DNS as a TXT record on the domain itself (@).
What to include
Everything that sends mail with your domain in the From address: your mailbox provider, plus any newsletter tool, CRM, help desk, billing system or app that emails customers. Miss one and its mail fails SPF; include ones you don't use and you waste lookups.
Some services send from their own bounce domain and don't need to be in your SPF at all; their setup page says so. They usually ask for a DKIM record instead.
Questions
- I already have an SPF record. Do I add this one too?
- No: replace it. A domain must have exactly one record starting v=spf1.
- Where do I add the record?
- Wherever your domain's DNS is managed (your registrar, Cloudflare, or your website host): a TXT record with the host @ (or blank) and the record as its value.
- Should I use ~all or -all?
- ~all is the safe default while you check everything is covered; DMARC then decides what happens to failures. Move to -all only when you're sure the list is complete.
In Bloop.email
Bloop.email sends from aliases and custom domains through your provider's own servers, so it's covered by your provider's SPF include.
Try Bloop.email free for 7 days