SPF record setup guides by provider

Provider-specific SPF setup guides — the exact include to add, its DNS lookup cost, and how to keep the combined record under the 10-lookup limit.

Microsoft 365 / Office 365

Include: include:spf.protection.outlook.com · ~1 lookup(s).

Google Workspace

Include: include:_spf.google.com · ~3–4 lookup(s).

GoDaddy

Include: include:secureserver.net · ~3 lookup(s).

SendGrid

Include: include:sendgrid.net · ~1 lookup(s).

Mailchimp

Include: include:servers.mcsv.net · ~1 lookup(s).

Salesforce

Include: include:_spf.salesforce.com · ~1 lookup(s).

Amazon SES

Include: include:amazonses.com · ~1 lookup(s).

Outlook / Exchange Online

Include: include:spf.protection.outlook.com · ~1 lookup(s).

Cloudflare

Include: include:_spf.mx.cloudflare.net · ~1 lookup(s).

Adding several of these to one domain is the classic route to a too-many-lookups permerror. If you stack providers, plan to flatten or use a macro.

Frequently asked questions

How do I set up an SPF record for my provider?
Add your provider’s include to your single SPF record and end it with ~all or -all. Pick your provider above for the exact value and lookup cost.
What if I use several providers at once?
Combine every include into one record, then check the total lookup count. If it exceeds 10, flatten the record or move to a single-lookup macro.

Test your SPF record now

Using more than one of these providers? Check your combined lookup count now.

Test My SPF Records →

Free check · no signup required to see your lookup count.