Configure a Zone Template so Newly Added Domains Get a DMARC Record

This article provides a guide for how to configure a zone template so newly added domains get a DMARC record. This guide assumes you have root-equivalent access to cPanel VPS or cPanel dedicated server.

Introduction

You may use the following procedure to ensure that newly created accounts and domains get a basic DMARC record by default.

Configure a Zone Template So Newly Added Domains Get a DMARC Record

  1. Login to WHM as the root user.
  2. Navigate to: "Home » DNS Functions » Edit Zone Templates".
  3. Click on the "Standard" template.
  4. Review the following example DMARC record, customize it to your needs, and then add it to the bottom of the template:
    _dmarc IN TXT v=DMARC1\;p=quarantine\;sp=none\;adkim=r\;aspf=r\;pct=100\;fo=0\;rf=afrf\;ri=86400\;rua=mailto:dmarc\@%domain%\;ruf=mailto:dmarc\@%domain%
  5. Click the blue "Save" button.

Whenever you create a new account or domain, it will have the above DMARC record added to it.

In order to receive DMARC aggregate and error reports, the domain owner must create an email account that matches the rua and ruf options included in the DMARC record that you just added to the template in step 4 above.

The basic DMARC record in the above example has the following settings:

  • Policy: Quarantine
  • Subdomain Policy: None
  • DKIM Mode: Relaxed
  • Percentage: 100
  • Generate Failures When: All checks fail
  • Report Format: AFRF
  • Report Interval: 86400
  • Send Aggregate Mail Reports To: dmarc@newlycreatedomainexample.tld
  • Send Failure Reports To: dmarc@newlycreatedomainexample.tld

Conclusion

You now know how to configure a zone template so newly added domains get a DMARC record.

Related

  • dmarc, dns zone template
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Guide to Domain EPP Status Codes

EPP Status Codes are used by the Domain Registry to signify the status of a particular domain...

Addon Domain Vs Alias Domain

The table below lists some key characteristics of Addon Domain and Alias Domain....

Disable Network Manager on CentOS 7

This article will provide the steps to disable Network Manager in CentOS 7. Network Manager is...

Disable Network Manager on CentOS 6

This article will provide the steps to disable Network Manager in CentOS 6. Network Manager is...

Video: How to Setup Domain Redirects in cPanel

This video tutorial provides Step-by-Step instructions how to setup domain redirects in cPanel...