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
  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

Related Articles

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

How to Edit Zone File and Setup DNS Forwarding

To perform DNS forwarding, change your zone file, (MX, A-Records & CNAME) using the following...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

Update Nameservers for Domains Registered at GoDaddy

After signing up for a hosting account, you will receive a Welcome email containing important...

Guide to Domain EPP Status Codes

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