The DNS records
The examples use HubSpot's sample number 123456 and the domain example.com. HubSpot shows your Host and Required data values when you connect the domain.
DKIM selector 1
Type: CNAME · Host: hs1-123456._domainkey
example-com.hs[#]a.dkim.hubspotemail.net.
HubSpot's article shows [#] as a placeholder for a number in your account; copy the full value.
DKIM selector 2
Type: CNAME · Host: hs2-123456._domainkey
example-com.hs[#]b.dkim.hubspotemail.net.
Set it up and turn on signing
- In HubSpot, click the settings icon and go to Content > Domains & URLs, then the Email Sending tab, and click Connect sending domain.
- Enter a From address at the domain and click Next twice. Choose Sign in with [provider] to add the records automatically, or No, I'll set it up manually.
- Copy each record's Host and Required data into your DNS host. HubSpot's list also includes SPF and DMARC records.
- Back in HubSpot, the domain moves from Not authenticated to Partially authenticated once DKIM is found, and to Authenticated when everything is. Use Refresh to recheck and Continue setup to fix missing records.
DMARC alignment
HubSpot says you can't send with your domain in the From address until you connect it by setting up DKIM. Without it, HubSpot rewrites the address to something like user=yourcompany.com@hs-domain.com. Once connected, the signature is for your domain, so DMARC can pass on DKIM. HubSpot says you can only connect a sending domain that isn't in use for another purpose, such as hosting your website.
Key length and rotation
The keys sit behind HubSpot's CNAME targets, so any key change happens on HubSpot's side; HubSpot doesn't publish a key length or rotation schedule. Copy both Host values from HubSpot rather than reusing names from a guide or another account.
Common mistakes
- Cloudflare CNAME flattening or proxying. HubSpot asks you to turn both off for these records.
- The root domain appended to the host. Enter
hs1-123456._domainkey, not the full name, at hosts that add the domain. - A DNS host that rejects underscores or double hyphens. HubSpot notes some do; ask the host or move DNS.
- Stopping at Partially authenticated. That status means DKIM works but SPF or DMARC is still missing.
Check your HubSpot DKIM key
Enter your domain and the selector from your HubSpot account. Free, reads public DNS only.
Frequently asked questions
What does Partially authenticated mean in HubSpot?
HubSpot found your DKIM records but not everything else it checks, such as SPF or DMARC. You can send with the domain; click Continue setup to see which records are still missing.
Why does HubSpot rewrite my From address?
Because the domain isn't connected. HubSpot won't send with your domain in the From address until DKIM is set up, so it uses an address like user=yourcompany.com@hs-domain.com instead.
Why do HubSpot DKIM selectors contain a number?
HubSpot's examples show a number in each selector, as in hs1-123456._domainkey, and HubSpot generates the values for your account. Copy the exact Host value from the domain setup screen rather than a number from a guide.
Sources
- HubSpot Knowledge Base: Manage your email authentication
- HubSpot Knowledge Base: Troubleshoot domain connection
- HubSpot Knowledge Base: Overview of email authentication
- RFC 6376: DomainKeys Identified Mail (DKIM) Signatures
- RFC 8301: Cryptographic Algorithm and Key Usage Update to DKIM
Checked against HubSpot's documentation on October 9, 2026. Providers change their setup screens; if yours differs, follow the values your admin console shows.
DKIM records for other providers
- Microsoft 365CNAME: selector1, selector2
- Google WorkspaceTXT: google
- Zoho MailTXT: you choose (e.g. zoho)
- GoDaddyCNAME: secureserver1, secureserver2
- FastmailCNAME: fm1, fm2, fm3
- Proton MailCNAME: protonmail, protonmail2, protonmail3
- Amazon SESCNAME or TXT: <token1>, <token2>, <token3> (Easy DKIM), your own (BYODKIM)
- SendGridCNAME or TXT: s1, s2
- MailgunTXT or CNAME: assigned by Mailgun (e.g. pic, krs, smtp), pdk1, pdk2 (Automatic Sender Security)
- PostmarkTXT: <timestamp>pm (e.g. 20131031155228pm)
- MailchimpCNAME: k2 and a second CNAME (Marketing), mte1, mte2 (Transactional)
- BrevoTXT or CNAME: mail (TXT), 2 CNAMEs from your account
- KlaviyoCNAME: km1, km2 (marketing), kt1, kt2 (transactional), ks1, ks2 (service)
- SalesforceCNAME: you choose two (e.g. example-sf-a, example-sf-b)
- ZendeskCNAME: zendesk1, zendesk2
Compare every provider's selectors in one table · SPF record for HubSpot
Related guides
How to find a domain's DKIM selector, and check its key
Find a DKIM selector from the s= tag in an email header, see the selectors Microsoft 365, Google Workspace and common senders use, then check the key.
8 min read SPF, DKIM & DMARCHow to rotate DKIM keys without breaking email
How often to rotate DKIM keys, which key length to use, how to name selectors, and how to rotate in Microsoft 365, Google Workspace and on your own server.
9 min read SPF, DKIM & DMARCDKIM "body hash did not verify" and other DKIM failures: causes and fixes
Fix DKIM failures: body hash did not verify, signature did not verify, no key for signature and short keys. Causes from mailing lists to broken TXT records.
9 min readLast updated