Deliverability•1 min read

Cloudflare DNS for Piisend — SPF, DKIM, MX

Add Piisend SPF, DKIM, MX, and tracking CNAMEs in Cloudflare. Keep CNAME records DNS-only (gray cloud) so sending domain verification passes in the dashboard.

Cloudflare DNS for Piisend — SPF, DKIM, MX

Piisend needs SPF, DKIM, and MX records at your DNS host before you can send from your own domain. This guide covers Cloudflare record-by-record, including gray-cloud CNAMEs so verification succeeds.

⚠️ Important Cloudflare Note: For Piisend DNS verification, ensure all CNAME records are set to DNS Only (Gray Cloud 🔘), NOT Proxied (Orange Cloud 🟠).


Step 1: Log into Cloudflare & Access DNS Settings

  1. Log into your Cloudflare Dashboard.
  2. Select your domain (e.g., yourdomain.com).
  3. Click on DNS -> Records in the left menu.

Step 2: Add Sending Records (SPF & DKIM)

1. Add SPF Record (TXT)

  • Type: TXT
  • Name: @ (or subdomain like mail)
  • Content: v=spf1 include:piisend.com ~all
  • TTL: Auto

2. Add DKIM Record (CNAME / TXT)

  • Type: CNAME
  • Name: k1._domainkey (or k1._domainkey.mail)
  • Target / Content: dkim.piisend.com
  • Proxy Status: DNS Only (Gray Cloud 🔘)
  • TTL: Auto

Step 3: Add Receiving Records (MX Records)

1. Primary MX Record

  • Type: MX
  • Name: @ (or subdomain like mail)
  • Mail Server: mxa.piisend.com
  • Priority: 10
  • TTL: Auto

2. Secondary MX Record

  • Type: MX
  • Name: @ (or subdomain like mail)
  • Mail Server: mxb.piisend.com
  • Priority: 10
  • TTL: Auto

Step 4: Add Tracking CNAME Record

  • Type: CNAME
  • Name: email (or email.mail)
  • Target: track.piisend.com
  • Proxy Status: DNS Only (Gray Cloud 🔘)
  • TTL: Auto

Step 5: Verify in Piisend Dashboard

Return to your Piisend dashboard and click Verify Domain. Cloudflare propagation takes less than 2 minutes.

Start sending

Ship transactional email in minutes

Create an API key, verify a domain, and send your first message with Piisend.