Opens in a new tab

hs1 and hs2: HubSpot’s DKIM keys

HubSpot signs your marketing email with two keys, at hs1-<HubID> and hs2-<HubID>: CNAMEs into hubspotemail.net, where the dots of your domain become dashes. Until a domain is connected, HubSpot sends from its own variable domain instead.

WhoseHubSpot — marketing and CRM
Selectorhs1-<HubID>, hs2-<HubID>
Published asTwo CNAMEs, to <your-domain>.hs<n>a and .hs<n>b.dkim.hubspotemail.net
Before you set it upHubSpot rewrites the From to its own domain until yours is connected
Where to find itSettings → Content → Domains & URLs → Email Sending
Can it go?Once HubSpot no longer sends from the domain.

Is HubSpot’s key on your domain?

Enter a domain — or paste the DKIM-Signature header of a message it sent: we look for HubSpot’s key under hs1 and hs2, check it, and name every other key the domain publishes.

The records

With your Hub ID and the values HubSpot shows:

hs1-1234567._domainkey.example.com  CNAME  example-com.hs01a.dkim.hubspotemail.net
hs2-1234567._domainkey.example.com  CNAME  example-com.hs01b.dkim.hubspotemail.net

How it works

HubSpot’s own domain uses hs1 and hs2 without a Hub ID. One of its help pages still mentions an smtpapi selector, which is SendGrid’s older name — HubSpot’s current setup is the hs1 and hs2 CNAMEs.

Common mistakes

  • A DNS host that appends the domain: enter only hs1-1234567._domainkey.
  • Cloudflare’s proxy or CNAME flattening switched on.
  • A host that rejects underscores or double hyphens.

Setting up HubSpot from scratch? Its SPF, DKIM and DMARC records, and a check of all three.

Questions

Where do I find my Hub ID?

In the HubSpot account menu; the Email Sending tab also shows the exact records with it filled in.

Sources

Checked on 27 September 2026 against these official sources:

Know when a DKIM key disappears

Point your DMARC reports at us and we monitor the keys your mail is signed with — and email you when one stops answering, before receivers start failing your mail. Free for your first domain.

Create a free account