Edit Zone Templates

If you are using cPanel, you will run into a similar template in the Edit Zone Templates area.

simple; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial%
3600
1800
1209600
86400 )

%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%

mail IN A %ip%
%domain%. IN MX 0 mail.%domain%.

%domain%. IN TXT “v=spf1 +mx +a -all”

_dmarc.%domain%. IN TXT “v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s; pct=100; fo=1; rf=afrf; ri=86400”

%domain%. IN CAA 0 issue “letsencrypt.org”
%domain%. IN CAA 0 issuewild “letsencrypt.org”
%domain%. IN CAA 0 iodef “mailto:%rpemail%”

standard; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial%
3600
1800
1209600
86400 )

%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%

www IN CNAME %domain%.
ftp IN CNAME %domain%.
autodiscover IN CNAME %domain%.

mail IN A %ip%
%domain%. IN MX 0 mail.%domain%.

%domain%. IN TXT “v=spf1 +mx +a -all”

_dmarc.%domain%. IN TXT “v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s; pct=100; fo=1; rf=afrf; ri=86400”

%domain%. IN CAA 0 issue “letsencrypt.org”
%domain%. IN CAA 0 issuewild “letsencrypt.org”
%domain%. IN CAA 0 iodef “mailto:%rpemail%”

standardvirtualftp; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial%
3600
1800
1209600
86400 )

%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%

www IN CNAME %domain%.
ftp IN CNAME %domain%.
autodiscover IN CNAME %domain%.

mail IN A %ip%
%domain%. IN MX 0 mail.%domain%.

%domain%. IN TXT “v=spf1 +mx +a -all”

_dmarc.%domain%. IN TXT “v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s; pct=100; fo=1; rf=afrf; ri=86400”

%domain%. IN CAA 0 issue “letsencrypt.org”
%domain%. IN CAA 0 issuewild “letsencrypt.org”
%domain%. IN CAA 0 iodef “mailto:%rpemail%”

To help this site function properly and with an SSL certificate, it is what I been using for a few years.

Stephan Pringle

About The Author: Stephan Pringle is an Information Technology Support Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.