You may use the following procedure to ensure that newly created accounts and domains get a basic DMARC record by default.
1. Login to WHM as the root user
2. Navigate to: Home »DNS Functions »Edit Zone Templates
3. Click on the Standard template
4. Add the following to a new line within 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=dmarc\@%domain%
5. Click the blue Save button
Now, whenever you create a new account or domain, it will have the above DMARC record added to it.
NOTE: In order to receive DMARC aggregate and error reports, the domain owner must manually create the following email account: firstname.lastname@example.org
Please note that newlycreateddomainexample.tld represents the newly created domain and should not be used literally.
This basic DMARC record in the above example has the following settings:
Subdomain Policy: None
DKIM Mode: Relaxed
Generate Failures When: All checks fail
Report Format: AFRF
Report Interval: 86400
Send Aggregate Mail Reports To: email@example.com
Send Failure Reports To: firstname.lastname@example.org
You are welcome to edit the DMARC record to meet your specific needs.