Black Friday: 50% off for your first 6 months on monthly plans, until 5 December. Claim 50% offWarm up now. Book January. New year head start: 30 days free on any paid plan. Claim 30 days freeConnect your own mailbox and we add a free one on our domain, for warmup and replies. See how it works

Skip to content
DNS

SPF Record Examples for Google Workspace and Microsoft 365 With a Sending Tool

A domain gets one SPF record. When you add a cold email or marketing tool, you add its include to that one record, then count the lookups. Here are the patterns, with examples.

Kristiyan Tsvetanov5 min read

One domain gets one SPF record, so when you add a sending tool you add its include to your existing record instead of creating a second one. For Google Workspace the record is v=spf1 include:_spf.google.com ~all. For Microsoft 365 it is v=spf1 include:spf.protection.outlook.com -all. Add a tool's include before the all term.

How this was checkedThe two provider includes are the ones Google and Microsoft publish for their mail systems. The tool include below is a placeholder, because every tool publishes its own value in its set-up screen; copy that, not ours. The lookup counts depend on what providers publish at the time, so always check the total with a checker after you change a record.

Examples

SPF records by set-up (example values; confirm each include with the provider)
Set-upRecord
Google Workspace onlyv=spf1 include:_spf.google.com ~all
Microsoft 365 onlyv=spf1 include:spf.protection.outlook.com -all
Google Workspace plus one toolv=spf1 include:_spf.google.com include:_spf.tool.example ~all
A server you run yourselfv=spf1 ip4:203.0.113.10 ~all

The last address is a documentation address that belongs to nobody. Use your own. ip4 and ip6 terms cost no DNS lookup, which makes them the tidy choice for servers you control.

The ending: ~all or -all

~all (soft fail) tells receivers that mail from other sources is probably not yours. -all (hard fail) says it is not yours. Many teams start with ~all while they confirm every sender is listed, and move to -all later. A +all ending authorises the whole internet and should never be used. With DMARC in place, receivers lean on the DMARC policy, so the difference is smaller than it looks.

Add a tool in four steps

  1. Copy the include value from the tool's domain set-up screen.
  2. Edit the existing SPF record. Do not add a new TXT record starting v=spf1.
  3. Put the new include before the final all term.
  4. Run an SPF check and look at the lookup count. If it is over 10, see the permerror guide.

For cold email, use a separate domain

Your main domain already carries Google Workspace or Microsoft 365, invoices and newsletters. Cold outreach is better kept on a separate sending domain with its own short SPF record, so one set of lookups and one reputation do not affect the other.

Questions

What is the SPF record for Google Workspace?

v=spf1 include:_spf.google.com ~all, with any other senders' includes added before the all term.

What is the SPF record for Microsoft 365?

v=spf1 include:spf.protection.outlook.com -all, with other senders' includes added before the all term.

Can I have two SPF records if I use two tools?

No. Merge them into one record. Two SPF records on a domain is a permerror.

Should I use ~all or -all?

Either is valid. ~all is a common start while you confirm every sender is listed. Never use +all.

Warm your mailboxes, then send cold email that lands.

Connect a mailbox to Warmerly. Free plan, no card required. Paid plans start with a 7-day trial, first charge on day 8, cancel any time before then.

Start freeCheck your deliverability free
  • Free plan, no time limit
  • 7-day trial on paid plans
  • 30-day warmup guarantee, with conditions
  • Customer data is hosted in the EU