Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Learn

SPF include: adding more than one sender

The include: mechanism tells receivers to also evaluate another domain SPF record and treat a match there as a match for yours. To authorize several services, put several include: terms in one single SPF record, never in separate records.

The short answer
  • Use one v=spf1 record with several include terms. Never publish two SPF records.
  • Each include costs a lookup, and the limit is 10 for the whole evaluation, nested includes included.
  • Copy the include value from the vendor documentation. Guessed hostnames fail silently.
Try the spf record checkerFree, live, no signup

What include values do the big mail providers publish?

Include values taken from each vendor help pages
ProviderInclude valueSource note
Google Workspaceinclude:_spf.google.comGoogle recommends ~all after it
Microsoft 365include:spf.protection.outlook.comMicrosoft example record ends in -all
Zoho Mailinclude:zohomail.comZoho example uses ~all or -all
Zoho (several Zoho services)include:one.zoho.comZoho says this avoids lookup failures

Check the vendor page before copying. Values can change and some providers use different hostnames per region or product.

How do you combine two senders in one record?

Google Workspace plus Microsoft 365 in a single TXT record
example.com.  IN  TXT  "v=spf1 include:_spf.google.com include:spf.protection.outlook.com ~all"

; WRONG: two separate TXT records starting with v=spf1
; example.com.  IN  TXT  "v=spf1 include:_spf.google.com ~all"
; example.com.  IN  TXT  "v=spf1 include:spf.protection.outlook.com ~all"

How do you add an include without breaking mail?

  1. 01

    Read the current record

    Copy the existing v=spf1 string before you change anything.

  2. 02

    Insert the new include before the all term

    Everything after all is ignored, so the include must come first.

  3. 03

    Count lookups

    Each include, a, mx, exists and redirect costs one, plus lookups inside the included record.

  4. 04

    Publish and recheck

    Run the SPF checker and confirm the result is not permerror.

  5. 05

    Remove dead senders

    Delete includes for services you stopped using to free lookups.

An include is only as stable as its owner

You trust whatever the included domain publishes, and it can change without notice. If the combined lookups pass 10, every message can fail. See SPF too many DNS lookups.

When is include the wrong tool?

Your own server

Use ip4 or ip6 with the address. It costs no lookup, unlike a or mx.

A vendor that publishes ranges

include is right: the vendor keeps its own IP list current.

A vendor you stopped using

Remove the include. An include pointing at a domain with no SPF data returns a void lookup, and two void lookups can trigger permerror.

How do you audit an SPF record full of includes?

  • Expand each include with an SPF checker and write down how many lookups it adds
  • Confirm each included vendor still sends mail for you
  • Check that the record starts with v=spf1 and ends with exactly one all
  • Make sure there is one SPF TXT record on the name, not several
  • Re-run the check after any vendor changes its setup instructions

Common questions

Can you use multiple includes in an SPF record?

Yes, as long as they sit in one v=spf1 record, for example v=spf1 include:a.example include:b.example ~all. The evaluation limit of 10 DNS-querying terms still applies across all of them.

What does include: do in SPF?

It evaluates the SPF record of the named domain. If that evaluation returns pass, the include matches and the sender is authorized. If it does not match, evaluation continues with the next term.

Does the include value go in the same record as ip4?

Yes. Mechanisms can be mixed in one record, such as v=spf1 ip4:192.0.2.10 include:_spf.google.com ~all. Order matters only for the final all term, which must be last.

Is there a limit on how many includes I can add?

RFC 7208 limits DNS-querying terms to 10 per evaluation, counting nested ones. Google help text also states a record can have up to 10 include tags, but the real limit is total lookups.

Does the SPF include value have to start with include:?

Yes. The mechanism name include: is followed directly by the domain, with no space, such as include:_spf.google.com. A value written without the include: prefix is read as an unknown term and breaks the record.

What is the difference between include and redirect?

include evaluates another domain and continues with your own terms if it does not match. redirect replaces your whole policy with the other domain record. Use redirect only when one domain should share another full policy.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.