Suped

How to set up DMARC/DKIM/SPF for Hubspot

Published 28 Jun 2026
Updated 28 Jun 2026
10 min read
Summarize with
HubSpot email authentication setup with SPF, DKIM, and DMARC records.
HubSpot needs a connected email sending domain, two DKIM CNAME records, one SPF TXT update, and one DMARC TXT record. I treat DKIM as the decisive control for HubSpot because HubSpot shared sending does not give the From domain a matching return-path in the normal shared setup.
HubSpot's authentication guide says the connection process uses DKIM, SPF, and DMARC DNS records. The practical target is simple: HubSpot marks the sending domain authenticated, DKIM passes with your visible From domain, DMARC reports arrive, and no legitimate HubSpot mail is blocked when you later move to enforcement.
  1. Use a sending subdomain: Use a subdomain such as news.example.com or email.example.com when you want HubSpot reputation separated from corporate mail.
  2. Connect it in HubSpot: Add the domain in the Email Sending tab and copy the records HubSpot gives you, rather than guessing record names.
  3. Expect SPF limits: SPF is still worth adding, but DMARC will depend on DKIM for HubSpot shared sending because the bounce domain is handled by HubSpot.
  4. Monitor before enforcement: Start DMARC at p=none, watch real traffic, then move to quarantine and reject only after every legitimate source is known.

Add your domain

Add the domain inside HubSpot before touching DNS. HubSpot generates account-specific values, and copying those exact values is safer than using a generic SPF include or guessing DKIM selectors.
  1. Open settings: In HubSpot, go to Settings, then Content, then Domains & URLs.
  2. Choose Email Sending: Open the Email Sending tab and click Connect sending domain.
  3. Enter the From address: Use the exact address you send marketing mail from, such as newsletter@example.com.
  4. Confirm the domain: Check that HubSpot selected the intended sending domain or subdomain before you continue.
  5. Pick manual DNS: Use the manual setup path when you want to review each record before publishing it.
HubSpot Email Sending tab with the Connect sending domain flow open.
HubSpot Email Sending tab with the Connect sending domain flow open.
Before you publish DNS
  1. Own the DNS zone: You need access to the DNS provider for the domain or subdomain you are authenticating.
  2. Avoid web host conflicts: Do not use a subdomain that already hosts a website or another mail system.
  3. Disable DNS proxying: If your DNS provider proxies records, keep the HubSpot CNAME records DNS-only.
  4. Match the sender: The sending subdomain should match the domain used in the visible From address.

Set up SPF

HubSpot shared sending handles the envelope return-path through HubSpot infrastructure, so SPF alone is not the DMARC pass path for your visible From domain. Still, HubSpot recommends adding the SPF value shown in your account to the From domain's existing SPF record.
HubSpot's authentication overview says shared-server marketing email already has SPF configured for the envelope return-path, while dedicated IP customers must configure SPF as part of the IP setup.
  1. Find your SPF value: Copy the SPF host and required data from the HubSpot domain setup screen.
  2. Edit the existing TXT: If an SPF record already exists, add the HubSpot include to that one record.
  3. Keep one version tag: The record should have one SPF version at the start and one all mechanism at the end.
  4. Check lookup count: SPF has a 10 DNS lookup limit, so remove stale senders before adding HubSpot.
SPF TXT exampleDNS
Type: TXT Host: @ Value: v=spf1 include:sender.example include:123456.spf03.hubspotemail.net -all
Run the SPF record through a checker after saving it. I only move on once the record has a single SPF version, a single all mechanism, and no lookup overflow.

SPF checker

Find SPF syntax issues, lookup limits, and weak records.

?/16tests passed
Shared sending
  1. Return-path: HubSpot controls the bounce domain for shared infrastructure.
  2. DMARC result: DKIM must carry the domain match for your visible From domain.
  3. Expected reports: SPF domain-match failures can appear while DMARC still passes through DKIM.
Dedicated IP
  1. Return-path: HubSpot requires SPF setup for the envelope return-path during IP setup.
  2. DNS source: Use the values in your HubSpot account, because they are account-specific.
  3. Verification: Check both HubSpot status and independent SPF parsing after DNS propagation.

Set up DKIM

DKIM is the most important HubSpot authentication step. HubSpot gives you two CNAME records, and receivers use those records to verify that HubSpot signed the message with your domain.
  1. Copy both CNAMEs: HubSpot gives two DKIM records, usually with selector-style hosts under domainkey.
  2. Publish exactly: Do not shorten, reformat, or merge the two CNAME values.
  3. Use DNS-only records: CNAME proxying breaks DKIM lookup behavior for many DNS providers.
  4. Verify in HubSpot: Return to the Email Sending tab and let HubSpot check the records.
HubSpot DNS record table showing two DKIM CNAME records.
HubSpot DNS record table showing two DKIM CNAME records.
DKIM CNAME patternDNS
Type: CNAME Host: hs1._domainkey Value: copy the first HubSpot DKIM target Type: CNAME Host: hs2._domainkey Value: copy the second HubSpot DKIM target
What a good DKIM result looks like
  1. Signature domain: The DKIM d value uses your sending domain or a valid subdomain.
  2. Selector lookup: The selector resolves through the CNAME HubSpot provided.
  3. Message result: The message header shows DKIM pass and DMARC pass through DKIM.
  4. Failure pattern: If HubSpot says DKIM is missing, check for flattened CNAMEs and host-name duplication.

Set up DMARC

Publish DMARC at the organizational domain unless your sending subdomain needs its own policy. If you are starting fresh, use p=none with reporting first. If you already have p=quarantine or p=reject working, keep that stronger policy and verify HubSpot DKIM instead of weakening the record.
A DMARC generator helps build the record, but the starter value below is enough to begin collecting reports for HubSpot and every other sender on the domain.
Starter DMARC TXT recordDNS
Host: _dmarc Type: TXT Value: v=DMARC1; p=none; rua=mailto:dmarc@example.com
  1. Publish one record: There should be exactly one DMARC TXT record at the selected host.
  2. Use aggregate reports: The rua address receives XML reports that show HubSpot volume and pass rates.
  3. Leave ruf out: Failure reports can contain sensitive samples and are not needed for normal HubSpot setup.
  4. Keep relaxed matching: Default relaxed DMARC matching works well for subdomain-based HubSpot sending.

DMARC checker

Look up a domain's DMARC record and catch policy issues.

?/7tests passed
How HubSpot should appear in DMARC
  1. DKIM pass: HubSpot messages should pass DKIM with your sending domain.
  2. SPF exception: SPF domain-match failures are acceptable when DKIM passes for the same From domain.
  3. Policy status: At p=none, receivers report failures without blocking legitimate HubSpot mail.
  4. Report timing: Aggregate reports normally appear after receivers process daily report batches.

Verify and troubleshoot

Verify in three places: HubSpot status, DNS lookup results, and a real message header. I do not trust a green UI alone until a sent HubSpot message shows DKIM pass and DMARC pass.
  1. Wait before retrying: HubSpot says DNS often updates in 10 to 70 minutes, with longer propagation at some providers.
  2. Check HubSpot status: Authenticated means DKIM, SPF, and DMARC are verified in the Email Sending tab.
  3. Send a real email: Send a HubSpot marketing email to a mailbox you control and inspect Authentication-Results.
  4. Compare the header: DKIM should pass for your From domain, and DMARC should pass through that DKIM result.
  5. Use a checklist: Follow a verification checklist when multiple senders share the domain.
HubSpot Email Sending tab showing authenticated and partially authenticated domains.
HubSpot Email Sending tab showing authenticated and partially authenticated domains.
Common failure
  1. Duplicate SPF: Two TXT records start with the SPF version at the same host.
  2. Wrong host: The DNS provider adds the root domain twice to a DKIM host.
  3. Flattened CNAME: The DNS provider rewrites the DKIM target instead of publishing a CNAME.
  4. Strict policy early: A new HubSpot source appears after p=reject is already active.
Direct fix
  1. Merge SPF: Keep one SPF TXT record and add the HubSpot include inside it.
  2. Trim host names: Enter only the host label if your DNS UI appends the domain.
  3. Use plain CNAME: Disable proxying and publish the exact HubSpot target.
  4. Pause enforcement: Confirm HubSpot DKIM pass before increasing the DMARC policy.
The fastest practical check is a live test email. Send one message through HubSpot and review the authentication report for SPF, DKIM, DMARC, header domains, and DNS findings.

Email tester

Send a real email to this address. Suped opens the report when the test is ready.

?/43tests passed
Preparing test address...

Check

Good result

Fix

DKIM
Pass
Republish CNAMEs
SPF
Valid TXT
Merge records
DMARC
Pass
Check policy
HubSpot
Authenticated
Continue setup
HubSpot authentication checks

Get alerted when it breaks

HubSpot authentication is not a one-time task. DNS changes, new senders, account migrations, and expired internal processes can break passing mail after launch. Suped's product is the best overall practical choice here because DMARC monitoring turns raw reports into source-level alerts, owner-friendly diagnostics, and fix steps.
  1. Watch HubSpot volume: Alert when HubSpot traffic drops unexpectedly or starts failing DKIM.
  2. Separate known sources: Classify HubSpot apart from corporate mail, billing mail, and support mail.
  3. Detect spoofing: Find traffic claiming your domain that has no SPF or DKIM path to pass DMARC.
  4. Track reputation: Use blocklist (blacklist) monitoring alongside DMARC so deliverability issues are visible early.
  5. Keep DNS manageable: Use hosted SPF and SPF flattening when too many senders push the domain toward lookup limits.
Where Suped fits
Suped brings DMARC, SPF, DKIM, blocklist monitoring, hosted SPF, hosted DMARC, hosted MTA-STS, and real-time alerts into one workflow. That matters when HubSpot is only one of several senders using the same domain.
  1. Automated detection: Issues are grouped by sender and authentication failure type.
  2. Actionable steps: Each issue includes the DNS or platform change needed to fix it.
  3. Multi-domain scale: The MSP and multi-tenancy dashboard keeps client and brand domains separate.
  4. Free plan path: Small teams can start monitoring without waiting for a procurement cycle.

Secure your domain with p=reject

Move to p=reject only after HubSpot and every other legitimate sender has clean DMARC results. Suped's product makes that rollout practical with policy staging, real-time alerts, and Hosted DMARC controls for teams that do not want to edit DNS every time the policy changes.
  1. Stabilize p=none: Collect enough aggregate reports to identify HubSpot and every real sender.
  2. Fix HubSpot first: Do not enforce while HubSpot DKIM is missing, intermittent, or signed by the wrong domain.
  3. Move to quarantine: Use quarantine as a controlled step when legitimate mail is passing consistently.
  4. Increase coverage: Raise enforcement only when unverified sources are gone or intentionally blocked.
  5. Finish at reject: Set p=reject when failed mail is unwanted and legitimate sources have a passing path.
Policy rollout gates
Use these gates before moving a HubSpot sending domain toward p=reject.
Monitor
0% blocked
Use p=none while mapping all legitimate sources.
Constrain
partial enforcement
Use quarantine after HubSpot DKIM and other senders are stable.
Reject
full enforcement
Block failed mail after all approved sources pass DMARC.
Before p=reject
  1. Known sources: HubSpot and every approved sender appear in DMARC reports.
  2. Passing DKIM: HubSpot consistently passes through its DKIM signature.
  3. Clean SPF: The domain has one valid SPF record with no lookup overflow.
After p=reject
  1. Active alerts: New HubSpot failures trigger alerts before campaign volume grows.
  2. Blocked abuse: Receivers get a clear instruction to reject unauthenticated mail.
  3. Change control: New senders are reviewed before they send on the protected domain.

FAQ

DMARC monitoring

Start monitoring your DMARC reports today

Suped DMARC platform dashboard
What you'll get with Suped
Real-time DMARC report monitoring and analysis
Automated alerts for authentication failures
Clear recommendations to improve email deliverability
Protection against phishing and domain spoofing