STAGED DRAFT. Not live. Prices, links and contact details are placeholders until Brad's go-live OK.
Fix SPF, DKIM and DMARC for Cloudflare
When your domain uses Cloudflare's nameservers, Cloudflare is your DNS host, and every email record has to be added there, even if you bought the domain somewhere else.
General steps. We haven't yet checked these against Cloudflare's current help pages, so this page doesn't name exact menus. Cloudflare's own instructions are linked under the steps.
The three records in plain words
- SPF
- a public list of the services allowed to send email as your domain. When a message claims to come from you, the receiving server checks whether the sending server is on that list. It is one TXT record, and a domain must have only one.
- DKIM
- a digital signature on every message you send. Your email provider holds a private key and signs each message; you publish the matching public key in your DNS so anyone can confirm the message really came through your provider and wasn't changed on the way.
- DMARC
- your instructions for mail that fails those checks: report it to you, send it to spam, or reject it. It also requires the passing check to match the domain in the From line, which is what stops someone faking your address. Starting with p=none blocks nothing and only collects information.
Where Cloudflare fits
Moving a domain onto Cloudflare moves its DNS. Records left at your old registrar stop counting, which is a common reason SPF or DKIM suddenly 'disappears' after a switch.
Cloudflare doesn't host mailboxes, so the values come from your email provider. If you use Cloudflare Email Routing to forward incoming mail, it adds records of its own; keep the result to a single SPF record that covers every service that sends as you.
Steps for Cloudflare
- Confirm Cloudflare really runs your DNS. If your domain points to another company's nameservers, edit the records there instead; changes in Cloudflare would do nothing.
- Get the record values from the service that sends your email (Google Workspace, Microsoft 365, Zoho Mail, or an email plan you bought from Cloudflare). The DNS host stores the records; it doesn't decide what goes in them.
- Sign in to Cloudflare and open the DNS records for your domain. Menu names change from time to time, so follow Cloudflare's own help page (linked below) for where they are today.
- SPF: one TXT record on the root of the domain (usually written @), starting v=spf1. If one already exists, edit it to add the new service. Never add a second SPF record.
- DKIM: add the record or records your email provider gave you, with the exact type (TXT or CNAME), name and value. DNS hosts usually add your domain to the end of the name for you, so enter only the part before it.
- DMARC: add a TXT record named _dmarc with the value v=DMARC1; p=none. It blocks nothing; it starts the reporting.
- Give DNS time to update, then run the free check (below).
Cloudflare's own help, for the exact menu names: Configure email security records (Cloudflare DMARC Management docs); Email Routing (Cloudflare docs).
Common mix-ups
- Editing records at the registrar after the domain moved to Cloudflare's nameservers.
- Ending up with two v=spf1 records when Email Routing and a mailbox provider both add one.
- Leaving out a sender that only shows up occasionally, such as an invoicing tool.
Check your domain first
The free check reads your domain's public records and shows a grade for SPF, DKIM and DMARC, with what's missing or broken. One domain at a time; nothing to sign up for.
Want the exact records for your domain and provider, written out with the steps? The fix pack is $49, one-time. See what's included.
Questions
Does Cloudflare's security or proxy feature protect my email?
No. Those protect your website. Email trust comes from these three records, which you still need to add.
Cloudflare offers DMARC tools. Do I still need this?
Cloudflare's tools can help you read DMARC reports. You still need correct values from your email provider, which is what the free check and the fix pack look at.
How fast do changes show?
Cloudflare DNS changes are usually visible quickly. If the free check still shows the old result, wait a little and try again.
Last checked: 17 Oct 2026 (general steps only; Cloudflare's own help pages not yet checked against them). Technical guidance only. These records help receiving servers trust your mail; nobody can promise inbox placement, because content, sending habits and the recipient's own settings matter too.