Follow this guide to setup a DMARC record for your domain(s) in Cloudflare.

On this page you will find a comprehensive guide on how to publish a DMARC record in Cloudflare. A DMARC record defines the rules for your DMARC implementation and should be published into your DNS. A DMARC record contains the DMARC policy that informs ISPs (like Gmail, Microsoft, Yahoo! etc.) if a domain is set up to use DMARC. DMARC Analyzer will aid you to generate your own custom DMARC record with our DMARC Record Generator.

After generating your DMARC record you should follow these simple steps to publish your DMARC record into your Cloudflare DNS:

Step 1

Log in to Cloudflare and go the Websites page. Click on the Settings icon listed next to the domain you’d like to edit and click on DNS settings

Step 2

Note: If you already see a record with name ‘_dmarc’, edit this record instead of creating a new record! This is important as you can’t have multiple DMARC records.

Go to the end of the page until you see an Add button to add a new DNS record.

In the Type box select TXT. Enter _dmarc as the ‘Name’. Enter your custom DMARC Analyzer TXT record in the Value box. You can find this record when you login to DMARC Analyzer and go to the DMARC Analyzer setup page.

For the TTL value you can select Automatic.

Click on the Add button to add your DNS record.


Step 3

You should now wait some time before the first reports will start to arrive in DMARC Analyzer. This is due to DNS caching and the fact that the ISPs mostly send one report each day. This can take upto 72 hours.

all guidance on how to create a DMARC record
use the DMARC Record Generator to generate your DMARC record
use the DMARC Record Checker to display, test and verify your DMARC record whether it’s valid
use the record setup guides for guidance on how to set up your DMARC record for specific webhosts