Deliverability · Practical guide
Cloudflare DNS email authentication: keep web proxying separate
Publish the mail provider’s records in Cloudflare and verify the names that mail systems actually query.
Reviewed · Examples are illustrative
Who this helps: Operators diagnosing authentication, receiving-policy and delivery failures.
Define the decision
Cloudflare DNS hosting does not make Cloudflare your mailbox provider. The domain may use Cloudflare for its website while another service handles mail, signing and bounce routing. Keep those responsibilities explicit.
Work through the procedure
- Collect exact SPF, DKIM, DMARC and MX instructions from the mail provider.
- Check the active Cloudflare zone and existing records before editing.
- Keep mail hostnames and authentication CNAMEs configured as required for DNS-only resolution.
- Query the resulting records externally and validate fresh mail in both directions.
Worked example
The following is a synthetic example for this procedure, not a customer result or performance benchmark.
Website: www.example.com may use the HTTP proxy
Mail host: mail.example.com must resolve as required by the mail provider
DKIM CNAME: preserve the provider target
Final test: received signature passes and replies reach the mailboxRead the result
The ordinary HTTP proxy is not a substitute for SMTP routing. A correctly configured website therefore says little about the health of email records.
Check before moving on
- Preserve existing verification TXT records.
- Check that an MX target resolves to the intended mail infrastructure.
Limits and next action
Do not change MX to fix an unrelated outbound SPF failure. Follow the responsible provider’s settings and keep a rollback record for DNS changes.
Source: Cloudflare: set up email records
Source references
Worked examples are illustrative. Editorial procedures are suggested methods, not measured performance claims or promises of additional product features.
Related guides
- Email deliverability audit checklist with evidence and owners →
- Deliverability incident response: contain, diagnose and restart deliberately →
- Read email authentication headers without trusting the wrong hop →