Author Topic: Strange DNS Zone Template applied  (Read 2409 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Strange DNS Zone Template applied
« 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?

Offline
*
Re: Strange DNS Zone Template applied
« Reply #1 on: April 04, 2024, 12:06:09 PM »
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.