SPF record generator
SPF tells receiving mail servers which services may send as your domain. You get one SPF record per domain, so every sender goes in the same one.
Your TXT record
- Type
- TXT
- Host
- @ (your domain)
v=spf1 include:_spf.google.com ~all
- Each include can pull in further lookups of its own. Check the finished record with a live SPF checker.
Things that trip people up
- Only one SPF record. Two TXT records starting with
v=spf1make both invalid. Merge them. - Ten lookups, total. Every
include,aandmxcosts one, and includes can contain more. Go over and SPF fails for all your mail. - SPF alone doesn’t protect the From address. Pair it with DKIM and a DMARC record.