Guides

HubSpot email authentication: DKIM, SPF, DMARC

6 November 2026

To authenticate HubSpot email, connect your sending domain under Settings, Content, Domains & URLs, Email Sending. HubSpot then gives you two DKIM CNAME records, an SPF include: to add to your existing SPF record, and asks for a DMARC record. Publish all three at your DNS host, verify, and the domain’s status changes to Authenticated. The step people miss is SPF: you add HubSpot’s include to the record you already have. You do not create a second one.

This guide follows HubSpot’s own email authentication article. Once the records are in, a $129 Snapshot can confirm they are published correctly alongside every other sender on the domain.

Who can do this

HubSpot says connecting an email sending domain is available on Starter, Professional, and Enterprise plans of Marketing Hub, Sales Hub, Service Hub, and Content Hub. You need Domain settings permissions in HubSpot, and you must own the domain. You also need access to the domain’s DNS.

Connect the sending domain

  1. Click the settings icon, then go to Content, Domains & URLs.
  2. Open the Email Sending tab and click Connect sending domain.
  3. Enter an email address on the domain you send from and verify it.
  4. Choose whether to sign in to your DNS provider through HubSpot, or pick "No, I’ll set it up manually" to copy the records yourself.

HubSpot shows a table of records with a Required data column. Copy values from there exactly. Do not retype them.

DKIM: two CNAME records

HubSpot’s article says DKIM requires two CNAME records. HubSpot generates the host names and values during setup, so they differ from account to account.

At your DNS host, add each one as a CNAME, with the host name in the Name field and HubSpot’s target in the Value field. Many hosts add your domain to the end of the name for you, so if HubSpot shows a full name ending in your domain, you may need to enter only the part before it. Our guide to adding a DKIM record covers the Name field at GoDaddy and Cloudflare.

These records are what make HubSpot’s signatures carry your domain. Without them, mail can pass DKIM on a HubSpot domain but fail DMARC alignment for yours, which is what Gmail’s 4.7.32 and Outlook’s 5.7.515 bounces are about.

The Cloudflare catch

HubSpot’s article says Cloudflare users must turn off domain-wide CNAME flattening and proxy settings for these records. A proxied CNAME answers with Cloudflare’s addresses instead of pointing to HubSpot’s record. Set each HubSpot CNAME to DNS only.

SPF: add one include

HubSpot gives you an include string in the Required data column. Its example is include:123456.spf03.hubspotemail.net. Yours will have your own number. The article also says to verify that the record includes include:shared.hubspot.com.

If you already have an SPF record, edit it. HubSpot says to add its include string to the existing record instead of creating a second one, and to make sure the version tag and -all appear only once. For example, a Google Workspace domain might go from:

v=spf1 include:_spf.google.com ~all

to:

v=spf1 include:_spf.google.com include:123456.spf03.hubspotemail.net ~all

with your own number in place of the example. Two SPF records on one name is not a style issue. RFC 7208 section 4.5 says that if more than one SPF record is found, the result is a permanent error, and SPF fails for all your mail.

Each include: also counts toward SPF’s limit of ten DNS lookups. If your record is already long, check the count before adding another. See fixing too many lookups.

DMARC: one record for the domain

HubSpot says a DMARC TXT record is required. If you do not have one, publish it at _dmarc.yourdomain.com:

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

If you send from a subdomain, such as news.yourdomain.com, HubSpot’s article says it counts as authenticated when the root domain has a DMARC record, because subdomains inherit the root policy. You do not need a separate record for the subdomain unless you want a different policy for it.

If you already have a DMARC record, leave it. One record covers all your senders. Just watch the reports after HubSpot starts sending, to confirm its mail passes. Our guide to DMARC policies covers when to move past p=none.

Verify and wait

HubSpot says DNS changes usually take 10 to 70 minutes, sometimes up to 48 hours, and suggests waiting at least 20 minutes before you verify. Then return to the Email Sending tab and check the domain’s status.

What each status means

Partially authenticated usually means the SPF include went into a second record, or the DMARC record is missing. Check those two first.

Check it from outside HubSpot

HubSpot’s status tells you what HubSpot sees. To confirm what receivers see:

  1. Look up the CNAMEs: dig CNAME plus each host name. You should get HubSpot’s targets back.
  2. Look up SPF: dig TXT yourdomain.com +short. There should be one line starting v=spf1, with HubSpot’s include in it.
  3. Send a HubSpot test email to a Gmail address, open it, and use Show original. SPF, DKIM, and DMARC should each show PASS, and the DKIM domain should be yours.

Common problems

Other senders on the same domain

HubSpot is rarely the only service sending as your domain. Your mailbox provider, store, and help desk each need their own DKIM, and each SPF include shares the same ten-lookup budget. The same pattern for Mailchimp and Klaviyo is in our Mailchimp and Klaviyo guide.

Sources