Why must DKIM CNAME records be DNS Only (grey cloud) in Cloudflare?
Cloudflare's orange-cloud proxy only handles HTTP/HTTPS traffic and rewrites CNAME records into Cloudflare edge A/AAAA records, which destroys DKIM TXT resolution.
How to add SPF, DKIM, DMARC, and MX records in Cloudflare DNS cleanly — avoiding CNAME flattening traps and orange-cloud proxy errors.
| Host / Name | Type | Value | TTL | Purpose |
|---|---|---|---|---|
@ |
TXT | v=spf1 include:_spf.mx.cloudflare.net include:amazonses.com ~all |
Auto | Use root apex @; Cloudflare handles >255B TXT chunking automatically |
s1._domainkey |
CNAME | s1.domainkey.u12345.wl.sendgrid.net |
Auto | MUST be DNS Only (Grey Cloud) — Proxied CNAME breaks DKIM lookups |
_dmarc |
TXT | v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com; |
Auto | Cloudflare DMARC Management can also host a free aggregate report inbox |
Use our DiffRadar Chrome Extension to watch cloud provider policy updates and grab our Indie Infra & Automation Kits on Gumroad.
Cloudflare's orange-cloud proxy only handles HTTP/HTTPS traffic and rewrites CNAME records into Cloudflare edge A/AAAA records, which destroys DKIM TXT resolution.
No. Cloudflare Email Routing is inbound forwarding only; pair it with Resend, Amazon SES, Postmark, or Google Workspace for outbound SMTP/API mail.
Yes. Paste the full unquoted `v=DKIM1; k=rsa; p=...` value into Cloudflare DNS and Cloudflare automatically splits it into RFC-compliant 255-byte chunks.