Add a DMARC record in Cloudflare (2026)
What you’ll have at the end
A DMARC record for your domain in Cloudflare DNS, with the monitoring policy p=none and a mailbox for reports.
Cloudflare's docs say DMARC tells receiving mail servers what to do when SPF or DKIM checks fail, and sends you aggregate reports about your email traffic.
Before you start
You’ll need
- Your domain added to Cloudflare, with its DNS managed there
- SPF and DKIM already set up for the services that send your email
- An email address where you'd like to receive DMARC reports
What it costs. Cloudflare's DNS docs name no charge for adding a DNS record.
Please set up SPF and DKIM for your email first. Cloudflare's docs suggest starting DMARC with p=none, a monitoring mode, while you confirm that SPF and DKIM are working.
The example DMARC record in Cloudflare's docs is:
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
Please replace dmarc@yourdomain.com with the address where you want to receive DMARC reports.
Following steps from somewhere else? You’re welcome to bring them here.
Steps
1. Open DNS > Records
In the Cloudflare dashboard, select your account and domain, then go to DNS > Records.
2. Check for a DMARC record already there
Look for a TXT record named _dmarc. If you find one, your domain may already have a DMARC policy. Please check its content with whoever set it up before adding another.
3. Select Add record
Select Add record.
4. Enter the DMARC record
Enter:
- Type: TXT
- Name: _dmarc
- Content: your DMARC value, such as v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com, with your own reports address
5. Select Save
Select Save. This guide ends here. Receiving servers find the record once the change has spread, and reports start arriving at the address you gave.
If something looks different
- Cloudflare's docs say that once you've reviewed the reports and confirmed that your real email passes authentication, you can change the policy to p=quarantine or p=reject. Those policies tell receiving servers to treat failing messages more strictly, so please change it only when you're sure.
- Cloudflare also has a DMARC Management area. Its docs say to go to Email > DMARC Management, select View records under Email record overview, and use the options there to set up SPF, DKIM and DMARC records.
- Cloudflare's Google Workspace page lists Proxy status: DNS only. Cloudflare's DNS records page says proxy status applies to A, AAAA and CNAME records, so you may not see it for a TXT record.
- To edit the record later, Cloudflare's docs say to select Edit on it in DNS > Records, make the change, and select Save.