The exact SPF record
Copy the example that matches your setup. Each one is a single TXT record; the host is shown as your DNS provider usually expects it (@ means the domain itself).
Zendesk only
Type: TXT · Host: @ · 1 of 10 DNS lookups
v=spf1 include:mail.zendesk.com -all
Zendesk and Google Workspace (Zendesk's example)
Type: TXT · Host: @ · 2 of 10 DNS lookups
v=spf1 include:_spf.google.com include:mail.zendesk.com -all
Zendesk and Microsoft 365
Type: TXT · Host: @ · 2 of 10 DNS lookups
v=spf1 include:spf.protection.outlook.com include:mail.zendesk.com -all
How SPF applies to Zendesk mail
Receivers check SPF against the domain in the envelope sender (the MAIL FROM or bounce address). Zendesk sends with your own domain there, so its include belongs in the SPF record on the domain you send from.
include:mail.zendesk.commust be in the first-layer lookup: in the record on your domain itself, not nested in an include you host elsewhere.- Zendesk's older values
include:smtp.zendesk.comandinclude:support.zendesk.comare outdated. Replace them withinclude:mail.zendesk.com. - Zendesk recommends a hard fail (
-all). Without a valid SPF record, Zendesk sends from its own domain instead of yours.
How to add it
- At your DNS host, open the TXT records for the domain of your support address.
- Add
include:mail.zendesk.comto your existingv=spf1record, or create one with the value above. - Save. Zendesk tries to verify the record when you add a support address.
- Set up DKIM (below), then check the live SPF record with the SPF Checker.
DKIM and DMARC alignment
Zendesk signs with DKIM through two CNAMEs: zendesk1._domainkey.yourdomain.com pointing to zendesk1._domainkey.zendesk.com, and the same for zendesk2. Add them first, then turn on digital signatures in Admin Center; Zendesk warns that turning signatures on before the CNAMEs exist causes delivery failures.
DMARC passes when SPF or DKIM passes and the domain it checked matches your From domain. Our guide to SPF, DKIM and DMARC explains how the three fit together.
Common mistakes
- Two SPF records. A domain may publish only one record that starts with
v=spf1. With two, receivers return a permanent error and SPF fails for all your mail (RFC 7208 section 3.2). Merge every sender into one record. - More than 10 DNS lookups. Each
include,a,mx,existsandredirectcosts a lookup, nested ones included; over 10 is a PermError (section 4.6.4). Zendesk's include costs 1 on its own. See how to fix too many SPF lookups. - Choosing
~allor-allwithout a plan. Zendesk's documentation uses-all.-allasks receivers to reject unlisted servers;~allasks them to accept but mark the mail. Once DMARC is enforced, receivers act on DMARC instead. Read SPF soft fail vs hard fail before you choose. - Nesting Zendesk's include inside another include, or using the outdated
smtp.zendesk.comorsupport.zendesk.comvalues. - Two records such as
v=spf1 include:_spf.google.com -allandv=spf1 include:mail.zendesk.com -all: Zendesk says to combine them.
Check your SPF record
See your live record, every nested include and the real lookup count. Free, reads public DNS only.
Building a new record? Open the SPF Record Generator with Zendesk filled in.
Frequently asked questions
What is Zendesk's SPF record?
Zendesk recommends v=spf1 include:mail.zendesk.com -all. If your domain already has an SPF record, add include:mail.zendesk.com to it instead of publishing a second one.
Why does Zendesk say the include must be in the first layer?
Zendesk verifies the include in the record on your domain itself. If you nest it inside another include, verification of your support address can fail. Keep include:mail.zendesk.com directly in your domain's record.
Is include:smtp.zendesk.com still valid?
Zendesk calls include:smtp.zendesk.com and include:support.zendesk.com outdated. They might still work, but Zendesk recommends include:mail.zendesk.com.
Sources
- Zendesk Help: Allowing Zendesk to send email on behalf of your email domain
- Zendesk Help: Digitally signing your email with DKIM
- RFC 7208: Sender Policy Framework (SPF)
Values checked against Zendesk's documentation on October 9, 2026. Lookup counts measured with our SPF Checker on October 9, 2026; providers change their records, so check yours before relying on a number.
SPF records for other providers
- Microsoft 365include:spf.protection.outlook.com
- Google Workspaceinclude:_spf.google.com
- Zoho Mailinclude:zoho.com
- GoDaddyinclude:secureserver.net
- Fastmailinclude:spf.messagingengine.com
- Proton Mailinclude:_spf.protonmail.ch
- Amazon SESinclude:amazonses.com
- SendGridinclude:sendgrid.net
- Mailguninclude:mailgun.org
- PostmarkNone needed
- MailchimpNone needed
- BrevoNone for standard sending; spf.brevo.com with a dedicated IP
- HubSpotAccount-specific (copy from HubSpot)
- KlaviyoNone needed
- Salesforceinclude:_spf.salesforce.com
- Freshdeskinclude:email.freshdesk.com
- IntercomNone needed
Related guides
SPF record syntax and examples
SPF record syntax explained: mechanisms, qualifiers and modifiers, with copy-ready examples for Microsoft 365, Google Workspace, subdomains and parked domains.
9 min read SPF, DKIM & DMARCHow to fix SPF PermError: too many DNS lookups
Why SPF breaks at 10 DNS lookups, how to count them, and step-by-step fixes for Microsoft 365 and Google Workspace domains with many senders.
8 min read SPF, DKIM & DMARCSPF softfail vs hardfail: should you use ~all or -all?
What ~all, -all and ?all mean in SPF, what receivers really do with each, how DMARC changes the choice, and which one to use for sending and parked domains.
8 min readLast updated