How to configure HubSpot in your DNS
Follow these 4 straightforward steps to publish your authentication records on Cloudflare, GoDaddy, Namecheap, or AWS Route 53.
Connect Sending Domain in HubSpot
In Settings > Website > Domains & URLs, click Connect a domain and choose Email Sending.
Add HubSpot DKIM CNAME Records
Publish the two 2048-bit CNAME records (hs1._domainkey and hs2._domainkey) generated for your domain.
Add Portal-Specific SPF Include
Add include:[YOUR_PORTAL_ID].spf01.hubspotemail.net into your root SPF record.
v=spf1 include:[YOUR_PORTAL_ID].spf01.hubspotemail.net ~allEnforce DMARC Policy
Add your DMARC record to protect your brand identity across marketing and sales sequences.
v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@yourdomain.com; pct=100Frequently Asked Questions for HubSpot
Technical answers regarding lookup limits, multiple records, and delivery errors.
Why does HubSpot use a portal-specific SPF include?▼
Can I connect HubSpot with Google Workspace on the same domain?▼
Common Providers Used with HubSpot
Send marketing and transactional emails alongside your corporate inbox.
Google Workspace (Gmail)
Official Business Gmail & Google Cloud Email
Microsoft 365 / Exchange Online
Outlook, Exchange, and Office 365 Enterprise Email
Klaviyo
E-commerce Marketing Automation & Customer Intelligence
ActiveCampaign
Intelligent Marketing Automation & B2B Sales Engagement
Need to combine multiple providers into one SPF record?
Our full in-browser engine merges SPF records, calculates RFC 7208 lookups in real-time, and generates custom DMARC policies.