CentOS Web Panel is deployed in Contact us to find out our latest offers!
Custom Default DNS Zone Template
You can change a default DNS Zone template which is used when creating a new-account or domain.
By default, cwp is using default.tpl for all new accounts and domains.
If you need to change it please note that you need to make a file as default.tpl is overwritten on every cwp update.
Default DNS Zone template files are in this folder: /usr/local/cwpsrv/htdocs/resources/conf/dns/bind/zones/
When you create a new file then you can activate it as a default from cwp.admin -> CWP Settings -> Edit Settings
Options that are replaced:
%domain% = new domain
%dns-email% = email of domain owner
%ns1% = nameserver 1
%ns2% = nameserver 2
%ip% = account/domain IP address