In short. At HubSpot, everything starts with the Connect sending domain wizard (Settings, Content, Domains & URLs, Email Sending tab). HubSpot shows you the records to publish: two CNAMEs for DKIM, one TXT for SPF and one TXT for DMARC. You copy them to the provider that manages your DNS.
SPF lists the servers allowed to send for your domain, DKIM signs every message, and DMARC tells recipients what to do with messages that fail. HubSpot brings all three into one wizard and shows an authentication status for each domain.
Last verified: November 30, 2026, against HubSpot's official documentation.
Before you start
You need the "Domain settings" permission in HubSpot and access to the domain's DNS zone. HubSpot states that you must own the sending domain and that an account can connect up to 2,000 of them. If you use Cloudflare, turn off CNAME flattening and the proxy at the domain level before creating the records.
Start the wizard
- Click the settings icon in the navigation bar.
- In the left menu, open Content, then Domains & URLs.
- Open the Email Sending tab, then click Connect sending domain.
- Enter an email address you use for marketing emails, click Next, check the sending domain, then click Next again.
- If your DNS provider is supported, choose Sign in with followed by the provider's name. Otherwise, choose No, I'll set it up manually.
For each record, the wizard then shows the Host and Required data columns: copy those values exactly as shown.
1. SPF
HubSpot documents a TXT record for SPF. If your domain already has an SPF record, do not create a second one: add HubSpot's include: to the existing record. The example from the help page, with demonstration values:
v=spf1 include:anotherprovider.com include:123456.spf03.hubspotemail.net -all123456 and spf03 are sample values: the include: to copy is the one in your wizard. HubSpot's rules: v=spf1 once, at the start; -all once, at the end; at most 10 include: per domain or subdomain. Avoid hard-coded IP addresses: if you must keep some, put HubSpot's include: after them, before -all. In its troubleshooting, HubSpot tells you to look for include:shared.hubspot.com with MX Toolbox's SPF tool: that wording differs from the example above, so rely on the value your own wizard shows.
2. DKIM
HubSpot asks for two CNAME records for DKIM. The help page does not give the exact host names: they appear in the wizard, in the Host and Required data columns. Create both CNAMEs at your DNS provider exactly as shown. If your provider appends your domain to the host name itself, enter only the part before the domain, then check the result in the record list.
To check the key, HubSpot says to use the selector smtpapi in MX Toolbox's DKIM Record Lookup and to look for a record containing k=rsa; t=s; p=MIG....
3. DMARC
HubSpot documents a TXT record for DMARC, whose value also appears in the wizard. The help page does not reproduce it: copy the one from your account. If you write your own policy, this is the format HubSpot presents as correct:
v=DMARC1; p=none; rua=mailto:[email protected];A subdomain counts as authenticated if a DMARC record exists at the root domain level: the root record is enough.
Wait for validation
HubSpot says DNS records usually take 10 to 70 minutes to update, sometimes up to 48 hours, and recommends waiting at least 20 minutes before checking. The Email Sending tab shows three statuses:
- Not authenticated: none of the three methods is fully verified;
- Partially authenticated: DKIM is validated, SPF or DMARC still needs validating;
- Authenticated: DKIM, SPF and DMARC are validated.
If something is wrong, click Continue setup to review the values to publish.
Then tighten DMARC step by step
Start with p=none and read the reports for one to two weeks. Once all your legitimate senders pass, move to p=quarantine, then to p=reject after several clean weeks: otherwise a forgotten sender would see its emails filed as spam or refused.
Common mistakes
- Two SPF records on the same domain: merge them into one, with
v=spf1and-allappearing once. - More than 10
include:in SPF: HubSpot sets 10 as the maximum. - Two DMARC records (two TXT records starting with
v=DMARC1): the receiving server stops looking and the policy is not applied. Keep only one. - Missing
vorptag: the minimum isv=DMARC1; p=YOUR_POLICY;. - "Invalid DMARC policy": the value of
porspmust benone,rejectorquarantine, in lowercase. ruawithoutmailto:: writerua=mailto:[email protected];, not[email protected];. Several addresses are separated by a comma.pctwith the % sign: writepct=25;, notpct=25%;.- Strict alignment: HubSpot lists
adkim=s; aspf=s;among the errors and givesadkim=r; aspf=r;as the correct form.
Check that it works
After the wait, check with these commands (replace example.com with your domain):
dig +short TXT example.com
dig +short TXT _dmarc.example.com
dig +short TXT smtpapi._domainkey.example.com
nslookup -type=TXT example.com
nslookup -type=TXT _dmarc.example.comYou should see one line starting with v=spf1 and one line starting with v=DMARC1. The last dig query follows the smtpapi selector that HubSpot cites; if your wizard shows other DKIM host names, query those instead. For a full test, send a marketing email to a Gmail address, open it, choose Show original: SPF, DKIM and DMARC should show PASS.
Free tool. DMARC checker · SPF checker · DKIM checker
Check your domain for free. AttackScout reads your public SPF, DKIM and DMARC records and tells you what to change. See also the pricing. Run the free check
Frequently asked questions
HubSpot: which DNS records do I need to create?
Two CNAMEs for DKIM, one TXT for SPF and one TXT for DMARC, whose values appear in the Connect sending domain wizard (Host and Required data columns). HubSpot's help page also mentions an MX record.
HubSpot: what does "Partially authenticated" mean?
DKIM is validated, but SPF or DMARC is not yet. Click Continue setup to review the values, then wait at least 20 minutes before checking again.
HubSpot: can I have two SPF records if I also send with another service?
No. Add HubSpot's include: to the existing SPF record, after the include: entries already there, separated by a space.
Related pages
Sources
Accessed on 11/30/2026.
- HubSpot, Connect your email sending domain: https://knowledge.hubspot.com/domains-and-urls/connect-your-email-sending-domain
- HubSpot, Troubleshoot email authentication issues: https://knowledge.hubspot.com/marketing-email/troubleshoot-email-authentication-issues
- HubSpot, Use a DMARC policy with HubSpot: https://knowledge.hubspot.com/email/can-i-use-a-dmarc-policy-with-hubspot