The Zone Template Editor will allow you to edit the default zones that are used when creating DNS entries. (Unless you have a custom setup, you do not need to edit these.)
simple - Domains with an A entry only
standard - Domains on a dedicated IP address, parked domains, and addon domains
standardvirtualftp - Domains on a shared IP address
standardvirtualftp
Add the following to the bottom
smtp IN CNAME %maildomain%.
pop3 IN CNAME %maildomain%.
pop IN CNAME %maildomain%.
_dmarc IN TXT v=DMARC1; p=quarantine; pct=100; rua=mailto:[email protected]; ruf=mailto:[email protected]
Existing:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial%; serial, todays date+todays
3600; refresh, seconds
1800; retry, seconds
1209600; expire, seconds
86400 ); minimum, seconds
%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.
%nameserverentry%. IN A %nameservera%
%nameserverentry2%. IN A %nameservera2%
%nameserverentry3%. IN A %nameservera3%
%nameserverentry4%. IN A %nameservera4%
%domain%. IN A %ip%
%domain%. IN AAAA %ipv6%
%domain%. IN MX 0 %domain%.
mail IN CNAME %maildomain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
ftp IN AAAA %ipv6%
; Add it HERE
smtp IN CNAME %maildomain%.
pop3 IN CNAME %maildomain%.
pop IN CNAME %maildomain%.
_dmarc IN TXT v=DMARC1; p=quarantine; pct=100; rua=mailto:[email protected]; ruf=mailto:[email protected]
pop3 IN CNAME %maildomain%.
pop IN CNAME %maildomain%.
_dmarc IN TXT v=DMARC1; p=quarantine; pct=100; rua=mailto:[email protected]; ruf=mailto:[email protected]