How To Set Up DMARC In 3 Easy Steps
Published: 2022-05-10 10:13:11

![How To Set Up DMARC In 3 Easy Steps](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xvtkx5tfrmelvissh9xi.jpeg)
Contrary to popular belief, setting up DMARC to protect your company email is much easier than it seems. In this post, we will show you 3 easy steps to set up DMARC: **generate**, **publish**, and **analyze**, as illustrated below:

![Set Up DMARC In 3 Steps](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a0yyyh0zxbxts5x2c1sh.png)

#### Step 1. Generate a DMARC record

A DMARC record is a TXT record to be published to the DNS to instruct the mailbox service provider how to handle an incoming email that fails authentication, depending on SPF and DKIM check results. Here is a more detailed explanation on this topic: [Getting Started With DMARC](https://dmarcly.com/blog/home/getting-started-with-dmarc). However, you are not required to fully understand it here in order to proceed.

To generate a DMARC record for your company domain to be protected, [log in](https://dmarcly.com/login) to the DMARCLY dashboard. Then go to: **DNS Records** -> **Publish DMARC Record**, simply copy the snippet highlighted on the page in orange. Here is a screenshot of an example snippet:

![Generate DMARC Record](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oyz49ekkfl7v0an5mhx4.png)

#### Step 2. Publish the DMARC record to DNS

Now you have the DMARC record, let's publish it to the DNS, so that it becomes accessible to email service provides to perform DMARC checks.

To do so, log in to your DNS management console, choose the domain you need to publish the DMARC record on, e.g., mydomain.com.

Create a TXT entry on mydomain.com with these settings:

```text
Type: TXT
Host: _dmarc
TXT Value: (DMARC record generated above)
TTL: 1 hour
```

For example, here is what it looks like in GoDaddy's DNS management console:

![Publish DMARC Record In GoDaddy](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1uwcvl9k8g9ezukjr6ru.png)

It looks like below in Cloudflare:

![Publish DMARC Record In CloudFlare](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x3ysao702761g02betke.png)

After published, it takes up to 1 hour for the DMARC record to become accessible (usually much faster though). You can then use our tool to confirm that you have published it successfully: [DMARC Checker](https://dmarcly.com/tools/dmarc-checker).

#### Step 3. Analyze aggregate reports

Many email service providers send aggregate reports daily. This means you might get aggregate reports the day you publish the DMARC record.

However, it could take up to 72 hours before your first aggregate reports arrive. If you are not seeing any report after 72 hours, refer to [this post](https://dmarcly.com/blog/why-am-i-not-receiving-dmarc-aggregate-or-forensic-reports) for troubleshooting tips.

Once you've got the data, you need to use it to [rectify your email streams](https://dmarcly.com/blog/how-to-implement-dmarc-dkim-spf-to-stop-email-spoofing-phishing-the-definitive-guide#step-5-rectify-email-streams).

Sparky! You have now set up DMARC for your domain.

Original post: [How To Set Up DMARC In 3 Easy Steps](https://dmarcly.com/blog/how-to-set-up-dmarc-in-3-easy-steps)