Control Web Panel
WebPanel => DNS => Topic started by: artidens on February 12, 2022, 09:24:45 AM
-
I have created a custom zone template in /usr/local/cwpsrv/htdocs/resources/conf/dns/bind/zones/custom.tpl and activated it as the default template for new accounts. It works fine. However, if I go to DNS Functions -> List DNS Zones and select "Reload Zone" on a domain, CWP creates a new zonefile that is not based on the default.tpl or my custom.tpl. It lacks most of the A records, the SPF record is missing etc. I don't know what it is and how to edit that template?
-
I learned the location of the /usr/local/cwpsrv/htdocs/resources/conf/dns/bind/zones/default.tpl file from you. I was looking for this. Thanks a lot. I don't know if this is the answer you are looking for, but the name of my file is default.tpl, not custom.tpl. Try creating default.tpl in this folder.