Free tool
SPF record generator
Pick who sends email as your domain and get one valid SPF record to paste into your DNS. It's built in your browser; nothing is sent anywhere.
Your SPF record
TXT · host @
v=spf1 include:_spf.google.com ~all
Needs at least 1 of the 10 DNS lookups SPF allows; each include can add more of its own (Google's uses about four). After publishing, run the DNS checker for the exact count.
Replace any existing SPF record with this one: a domain may have only one.
FAQ
SPF records, briefly.
Where do I add the SPF record?
At your DNS provider (where you bought the domain, or Cloudflare), as a TXT record on the root of the domain: host @ or left blank.
I already have an SPF record. Do I add a second one?
No. A domain may have only one SPF record; two make SPF fail. Put every sender in one record and replace the old one with it.
Why does the lookup count say "at least"?
Each include can contain more includes. The generator counts the ones in your record; the DNS checker resolves them all once the record is published.