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).
MailerSend only
Type: TXT · Host: @ · 1 of 10 DNS lookups
v=spf1 include:_spf.mailersend.net ~all
Google Workspace and MailerSend
Type: TXT · Host: @ · 2 of 10 DNS lookups
v=spf1 include:_spf.google.com include:_spf.mailersend.net ~all
Return path (CNAME, not TXT)
Type: CNAME · Host: mta
mailersend.net
mta is MailerSend's default host; you can change it with Edit on the Domains page.
How SPF applies to MailerSend mail
Receivers check SPF against the domain in the envelope sender (the MAIL FROM or bounce address). MailerSend sends with your own domain there, so its include belongs in the SPF record on the domain you send from.
- MailerSend needs SPF, both DKIM CNAMEs and the return-path CNAME to verify the domain. Tracking CNAMEs are needed only if you turn on custom DNS records for tracking.
- MailerSend's API example shows its SPF value ending in
-alland including an IPv6 range. Copy your account's exact value rather than this page's examples. - Some DNS hosts treat the host field differently: MailerSend says to leave it empty for SPF on Wix and Google Domains, and not to use
@on Google Cloud DNS.
How to add it
- In MailerSend, go to Email > Domains, click Add domain, enter the domain and click Add domain again.
- Choose automatic authentication through your registrar login, or close the pop-up to set up the records by hand.
- Replace your existing SPF TXT record on
@with the value MailerSend shows, which already includes what you had. Don't add a second SPF record. - Add the two DKIM CNAMEs and the
mtareturn-path CNAME, tick I have added DNS records and click Finish verification. - MailerSend says verification usually takes minutes but can take up to 48 hours; use Re-check now after that, then check the live record with the SPF Checker below.
DKIM and DMARC alignment
The mta return path is a subdomain of yours, so SPF for MailerSend mail is checked there and can align under relaxed DMARC alignment. The two DKIM CNAMEs carry MailerSend's 2048-bit keys and give a second aligned pass. MailerSend doesn't create a DMARC record for you. See our MailerSend DKIM page.
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). MailerSend's include costs 1 on its own. See how to fix too many SPF lookups. - Choosing
~allor-allwithout a plan. MailerSend'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. - Adding MailerSend's value as a second SPF record. MailerSend says there can't be more than one SPF record in a DNS zone.
- Typing
mta.example.comas the host where your DNS host appends the domain. For Google Domains, MailerSend says to enter onlymta. - Skipping the return-path CNAME. MailerSend counts it among the records needed to verify the domain.
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 MailerSend filled in.
Frequently asked questions
What is the SPF include for MailerSend?
include:_spf.mailersend.net, in the TXT record on your domain. MailerSend shows the full value already merged with your existing SPF record, so you replace your record with it rather than adding another.
What is the mta record in MailerSend?
It is the return-path CNAME: mta.example.com pointing to mailersend.net. Bounces use it, and it's one of the records MailerSend needs to verify the domain. You can rename the host with Edit on the Domains page.
My MailerSend domain still isn't verified after 48 hours. What now?
Click Re-check now on the domain. MailerSend says to contact its support if the domain still isn't verified after another 48 hours. Meanwhile, check for a doubled host name or a second SPF record with the SPF Checker below.
Sources
- MailerSend Help: How to add and verify your sending domain
- MailerSend API Reference: Domains (Get DNS records)
- RFC 7208: Sender Policy Framework (SPF)
Values checked against MailerSend's documentation on November 3, 2026. Lookup counts measured with our SPF Checker on November 3, 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
- iCloud Mailinclude:icloud.com
- Rackspace Emailinclude:emailsrvr.com
- Hostingerinclude:_spf.mail.hostinger.com
- Private Emailinclude:spf.privateemail.com
- IONOSinclude:_spf-us.ionos.com
- Amazon SESinclude:amazonses.com
- SendGridinclude:sendgrid.net
- Mailguninclude:mailgun.org
- PostmarkNone needed
- Mailjetinclude:spf.mailjet.com
- SMTP2GONone needed (return-path CNAME)
- MandrillNone needed
- SparkPostNone needed (bounce-domain CNAME)
- Elastic Emailinclude:_spf.elasticemail.com
- Resendinclude:amazonses.com
- MailchimpNone needed
- BrevoNone for standard sending; spf.brevo.com with a dedicated IP
- HubSpotAccount-specific (copy from HubSpot)
- KlaviyoNone needed
- ActiveCampaignNone needed (Mailserver Domain CNAME)
- SquarespaceNone needed
- ShopifyNone needed (CNAME records)
- Dynamics 365 Customer InsightsNone needed (optional: your envelope-from domain)
- MailerLiteinclude:_spf.mlsend.com
- Campaign Monitorinclude:_spf.createsend.com
- KitNone needed (ckespa CNAME)
- Marketoinclude:mktomail.com
- Account Engagement (Pardot)None needed (SPF passes automatically)
- Customer.ioCopy from Customer.io (cio##### subdomain)
- Constant ContactNone needed
- Zoho Campaignsinclude:zcsend.net
- Salesforceinclude:_spf.salesforce.com
- Zendeskinclude:mail.zendesk.com
- Freshdeskinclude:email.freshdesk.com
- IntercomNone needed
- Help ScoutNone needed (old value: helpscoutemail.com)
- Odooinclude:_spf.odoo.com
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