HubSpot · Email sending domain

Connect a HubSpot email sending domain — DKIM first, honestly about SPF

First published 20 October 2026 · From HubSpot's Knowledge Base (seven articles, read in full for this guide). Two corrections to common instructions up front: the settings path is now Settings → Content → Domains & URLs (older guides say Marketing → Email), and a sending subdomain is HubSpot's recommendation — the root is allowed when it isn't hosting your site.

Do not fix the wrong thing first. HubSpot has five different things called “connecting a domain” (website hosting, brand domain, email sending, dedicated IP, redirect) sharing one settings screen. Connecting the wrong one authenticates nothing. This guide is the email sending domain — the one whose records are DKIM CNAMEs.

The records

RecordWhat yours will look like (shape — values from your screen)
DKIM CNAME ×2Hosts hs1-<accountID>._domainkey.<domain> and hs2-<accountID>._domainkey.<domain> → targets on hubspotemail.net (your domain rendered with hyphens, e.g. example-com.hs1a.dkim.hubspotemail.net)
SPF (merge)Add include:<accountID>.spfNN.hubspotemail.net into your existing SPF record — HubSpot calls it “highly recommended.” Never a second SPF record (our merge guide)
DMARCYour single TXT at _dmarc — published by you (HubSpot Support explicitly can't), per the rules in §4

The ladder

  1. Choose the sending (sub)domain. Recommended: a dedicated subdomain (e.g. email./em.) so marketing sending never entangles your corporate mail's reputation; root permitted if it isn't hosting. Decide deliberately — changing later means a fresh connection and fresh records.
  2. Settings → Content → Domains & URLs → Connect a domain → Email sending.
  3. Publish the records the wizard shows (table above) at your DNS host.
  4. Wait and watch the status — HubSpot verifies against DNS; propagation, not effort, is the variable. Use a lookup on the exact CNAME hosts if it stalls.
  5. DMARC: ensure your record exists, single, with relaxed alignment (below).
  6. Test like a receiver: send to a Gmail address, open “Show original” — you want dkim=pass with your domain and DMARC pass. SPF will show pass against HubSpot's return-path — expected; read §4 before “fixing” it.

Alignment truth — in HubSpot's own words

  • HubSpot, on SPF: “SPF is traditionally required for the envelope return path domain… HubSpot already has this configured for marketing emails sent through its shared servers.” Its glossary adds that the return-path “cannot be customized by senders on HubSpot's shared network.”
  • Translation, without extrapolation: on shared sending, SPF authenticates HubSpot's return-path, not your From — so SPF alignment isn't available there, and DMARC passes on aligned DKIM (d= = your connected domain). That's a sound architecture, and it's why §3's DKIM records are the whole game.
  • The branded return-path exists — in the dedicated-IP / transactional add-on flow, with its own generated subdomain (e.g. 12345m.example.com) and A + MX (priority 0) + SPF + DKIM records. Don't go hunting for it in the standard wizard.
  • HubSpot on DMARC alignment modes: adkim/aspf “should both be set to r (relaxed alignment)” — consistent with everything this series teaches (strict SPF alignment breaks against subdomain return-paths across ESPs; see SendGrid and SES).
  • HubSpot's own stakes statement is qualitative: bulk senders must fully set up DMARC/DKIM/SPF or face DMARC/policy bounces at Gmail/Yahoo. (For the actual thresholds, our Yahoo guide quotes the receivers themselves.)

Traps

TrapReality
“Fixing” the SPF alignment you saw in the testOn shared sending there is nothing to fix — alignment via SPF isn't offered; DKIM carries it. Chasing it leads people to delete the include (breaking SPF authentication) or invent return-path records.
Connecting the domain in the wrong portal / as the wrong typeSending domains may be connected to multiple HubSpot accounts per current KB — but a hosting domain is exclusive. If connect fails, check which of the five types you actually picked.
Following an old guide's menu pathSettings moved (Content → Domains & URLs). Also quarantine one stray: a HubSpot troubleshooter references include:shared.hubspot.com — the account-specific include from your wizard is the documented pattern; prefer your screen.
Expecting HubSpot Support to publish DMARC for youTheir sentence is final: they can't. Your DNS host + this series' rollout guide is the path.
Root-domain CNAME collisionsIf your root already carries records the wizard wants to own (or your host flattens CNAMEs), the subdomain route isn't just recommended — it's the exit. Another reason rung 1 exists.

FAQ

My KB-saved screenshot shows an MX in the wizard. Publish it?

HubSpot's KB headlines “four record types” yet documents no MX value for the standard flow in the text we could verify — so: publish what your wizard lists, verbatim, and nothing reconstructed from articles (ours included).

Sales emails from reps — same setup?

Different pipe: one-to-one mail rides your connected inbox (Google/Microsoft) and inherits that platform's authentication. HubSpot's sending-domain connection governs HubSpot-sent marketing/automated mail.

We rebranded domains. Reconnect?

A new sending domain is a new connection with new CNAMEs; the old domain's records can retire only after no live sending uses it (check both marketing and any transactional add-on).

Sources

HubSpot Knowledge Base — Manage your email authentication, Overview of email authentication (incl. its glossary), Understand email sending in HubSpot, Connect a dedicated IP, Connect a domain to HubSpot, Troubleshoot domain connection, Troubleshoot email authentication issues.

Verification note: record shapes, the return-path position and the relaxed-alignment instruction were confirmed from HubSpot's KB on 20 October 2026. Two KB inconsistencies found during research (a stray legacy SPF include in a troubleshooter; the undocumented standard-flow MX) are flagged in-line rather than resolved by guesswork.