Official DNS Guide • CRM & Inbound Marketing

HubSpot SPF Record Setup & Validator

Step-by-step instructions to authenticate your HubSpot email sending domain and publish DKIM CNAME keys.

Quick Answer • Exact HubSpot SPF Syntax

To authorize HubSpot to send emails on behalf of your domain, add include:123456.spf01.hubspotemail.net to your domain's single DNS TXT SPF record before the terminating ~all mechanism. The standard record is v=spf1 include:123456.spf01.hubspotemail.net ~all.

Live HubSpot DNS Validator

Test your domain's published SPF, DKIM, and DMARC records via global DoH edge nodes in real time.

Zero-Log Client Evaluation

Understanding HubSpot Email Authentication

HubSpot requires domain authentication using portal-specific CNAME records for DKIM and a unique SPF include host based on your Hub ID.

When HubSpot delivers outbound emails on your behalf, recipient mail transfer agents (MTAs) at Google, Yahoo, Microsoft, and corporate mail gateways inspect the sender identity. Without a published SPF record explicitly permitting HubSpot's IP ranges, these emails trigger SPF Softfail (~all) or Hardfail (-all), severely degrading domain reputation and inbox placement.

Required DNS Records for HubSpot

Publish the following DNS records in your domain registrar or DNS management console (Cloudflare, AWS Route 53, GoDaddy, Namecheap):

TypeHost / NameValue / TargetTTLPurpose
TXT@v=spf1 include:[id].spf01.hubspotemail.net ~all3600Portal-specific SPF.

Step-by-Step Setup Instructions

1

In HubSpot > Settings > Domains & URLs > Connect email sending domain.

2

Add the 2 DKIM CNAME records and SPF include to your DNS.

3

Verify in HubSpot.

Common HubSpot SPF Configuration Mistakes

× Generic include:hubspot.com used

Cause: Outdated SPF string.

Fix: Use portal-specific include.

Frequently Asked Questions

How do I find my HubSpot SPF string?

In HubSpot Settings > Domains & URLs > Email Sending Domains.