Skip to main content
Enter TitanOS

Sender setup

HubSpot marketing email: connecting your sending domain

HubSpot's marketing emails are authenticated by connecting an email sending domain in your settings. HubSpot lists four record types for the connection, MX, DKIM, SPF and DMARC. DKIM needs two CNAME records, SPF needs a TXT record that you merge into any SPF record you already have, and DMARC needs a TXT record on the domain.

By Kyle Deligny, Titanos, Brisbane. Last reviewed 1 December 2026. General information, not legal advice.

Most mistakes here are about which domain to connect and about SPF. HubSpot shows you an include string specific to your account, so this page explains where it goes and what to do when you already publish SPF for Google Workspace or Microsoft 365.

Choose the sending domain before the records

HubSpot says the domain you connect should match the domain in the From address of your marketing emails. If your From address is news@info.yourbusiness.com.au, connect info.yourbusiness.com.au. You can use the root domain instead if it is not hosting content, but the domain must not already be used for another purpose, such as your website.

An account can connect up to 2,000 sending domains, and a domain can be connected to more than one HubSpot account. For a small business the practical choice is a subdomain used only for marketing mail, which keeps a bulk campaign's reputation apart from your staff mailboxes on the main domain.

The records HubSpot generates

DKIM needs two CNAME records. HubSpot generates them during setup and you copy each from the Host column, so do not type them from memory or from an older guide. HubSpot's troubleshooting steps use the selector smtpapi when you look up a DKIM record in a tool, and a valid record contains k=rsa and a long p= public key.

SPF is the record most people get wrong. HubSpot's page tells you to add HubSpot to your existing record rather than creating a second one. You place the string HubSpot gives you after include: inside the current record, and make sure the v=spf1 version and the -all ending appear only once. Its example is v=spf1 include:anotherprovider.com include:123456.spf03.hubspotemail.net -all, where the second include stands for your account's own string.

What each HubSpot record is for
RecordTypeWhat to remember
DKIM (two records)CNAMECopy hosts and values from HubSpot; selector smtpapi in lookups
SPFTXTMerge into the existing record, one v=spf1 and one -all
DMARCTXTCheck for one at the root; subdomains inherit it
MXMXListed by HubSpot as part of the connection; copy the value it shows

DMARC and subdomains

HubSpot states that a subdomain counts as authenticated for DMARC if a DMARC record exists at the root domain, because policy is inherited. That matches RFC 7489, which falls back to the organisational domain's policy when a subdomain has none. SPF and DKIM do not inherit, which is why the CNAME and SPF steps are needed for the sending subdomain itself.

Check the root domain for an existing record first. If there is none, publish a p=none record with a reporting address using our DMARC generator and read the reports before you tighten anything.

How long it takes and how to check

HubSpot says DNS records usually update in 10 to 70 minutes but can take as long as 48 hours, and suggests waiting at least 20 minutes after an update before you check. Once HubSpot shows the domain as connected, send a marketing email to a Gmail address and open Show original. You want dkim=pass with your own domain, and dmarc=pass.

If SPF is the part that fails, count your includes. A record that merges Google Workspace, Microsoft 365 and HubSpot can reach the limit of 10 DNS lookups, which turns a pass into a permanent error. Our lookup limit guide explains how to find the cause.

HubSpot sending domain checklist

  1. Decide the From address domain for marketing emails.
  2. Connect a matching subdomain, or the root domain only if it hosts no content.
  3. Look up your current SPF record before HubSpot prompts you to change it.
  4. Copy both DKIM CNAME hosts and values from the Host column.
  5. Merge HubSpot's include into the existing SPF record, keeping one v=spf1 and one -all.
  6. Add the MX and DMARC records HubSpot lists, unless a DMARC record already exists at the root.
  7. Wait at least 20 minutes, then verify in HubSpot.
  8. Send a test to Gmail and read dkim, spf and dmarc in Show original.
  9. Count your SPF lookups after the merge.

Questions people ask

Do I create a second SPF record for HubSpot?

No. HubSpot says to add its include to your existing record, and a domain should publish only one SPF record, so two would cause errors for every sender.

Can I send HubSpot emails from a free Gmail address?

You cannot authenticate a domain you do not control, so use an address on your own domain for the From line of marketing emails.

Does my root domain's DMARC cover the HubSpot subdomain?

HubSpot says a subdomain counts as authenticated if a DMARC record exists at the root domain, because policy is inherited. SPF and DKIM still need the records for the subdomain itself.

How many DKIM records does HubSpot need?

Two CNAME records, which HubSpot generates for your account during setup.

Where to from here

The free privacy policy audit reads your published privacy policy against the Australian Privacy Principles and tells you what is missing. Privacy Care keeps your policy and your shopper data practices current for AU$149 a month, with a 3-month minimum. Would it be okay if we showed you what the audit finds? A no is welcome.

Get the free auditSee Privacy CareBook a call

Sources

  1. HubSpot Knowledge Base, connect your email sending domain
  2. RFC 7208, Sender Policy Framework
  3. RFC 7489, DMARC
  4. Australian Cyber Security Centre, how to combat fake emails
Book a free call