Email provider

Cloudflare Email Routing DNS records

Free forwarding from addresses at your domain to an inbox you already use, like Gmail. It receives mail only, and your domain's DNS must be on Cloudflare.

Where is your domain's DNS managed?

Email Routing only works when your domain's DNS is managed by Cloudflare. Send email from your domain address (Gmail + Brevo) →

The records Cloudflare Email Routing needs

These are the values for any DNS host. Field names differ between hosts, so use the host guides above for the exact boxes to fill in.

MX records Where incoming email goes Added automatically Type MX Host / Name @ Value route1.mx.cloudflare.net Priority set automatically TTL Default
MX records Where incoming email goes Added automatically Type MX Host / Name @ Value route2.mx.cloudflare.net Priority set automatically TTL Default
MX records Where incoming email goes Added automatically Type MX Host / Name @ Value route3.mx.cloudflare.net Priority set automatically TTL Default
SPF record Which servers may send as you Added automatically Type TXT Host / Name @ Value v=spf1 include:_spf.mx.cloudflare.net ~all Priority n/a TTL Default
DKIM A signature on every message Added automatically Type TXT Host / Name cf2024-1._domainkey Value Added by Cloudflare Email Routing Priority n/a TTL Default
DMARC record What to do with fakes ยท recommended Type TXT Host / Name _dmarc Value v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com Priority n/a TTL Default

Free email with your own domain: how Cloudflare Email Routing compares

Notes on each record

What Cloudflare Email Routing's documentation says about each record, in one place.

MX MX records

  • Cloudflare sets the MX priorities itself.
  • Delete any other MX records first. Cloudflare won't turn on Email Routing while other MX records exist (error 2008, Non-Cloudflare MX records exist).

SPF SPF record

  • If you already have an SPF record (for example from a service that sends your mail), merge them into one record and keep it under 10 DNS lookups.

DMARC DMARC record

  • Email Routing's records don't include DMARC, so add this one yourself in DNS > Records.
  • The report address has to receive mail: create a routing rule for it, or turn on the catch-all, so reports are forwarded to you.

Common Cloudflare Email Routing mistakes

Leaving another provider's MX records

Onboarding fails with error 2008 while non-Cloudflare MX records exist. Delete them, then onboard right away so the gap without MX records stays short.

Not verifying the destination address

A routing rule that points to an unverified address stays disabled. Open Cloudflare's verification email and select Verify email address.

Adding a second SPF record

If another service also sends mail for your domain, put its include in the same SPF record instead of adding a second one, and stay under 10 DNS lookups.

Check your Cloudflare Email Routing DNS

Enter your domain to see which records are in place.

We only read public DNS records. Nothing is stored.