How to use the SPF generator
- 1Tick the mailbox and sending services you use.
- 2Add any servers of your own by IP address.
- 3Choose the ending: ~all is the safe default.
- 4Run the live lookup count, then publish the record as a TXT record on your root domain.
Publishing the record
Create a TXT record on the root of the domain (host @ or blank, depending on your DNS provider) and paste the generated value. If a record starting with v=spf1 already exists, replace it; two SPF records make both invalid.
Only list services that send with your domain as the envelope sender. Many platforms use their own bounce domain, in which case they do not belong in your SPF record at all. Their setup guide will say.
Questions about the SPF generator
What is the SPF record for Google Workspace?
v=spf1 include:_spf.google.com ~all. If you also send through other services, add their includes before ~all.
What is the SPF record for Microsoft 365?
v=spf1 include:spf.protection.outlook.com -all is what Microsoft documents. Use ~all if other systems also send for the domain and you are still mapping them.
How many services can I add?
As many as fit within 10 DNS lookups in total. Large providers use several lookups each, so the practical limit is often four or five services. The live check shows the real number.