Author Topic: dns_rebuild_zone - what zone template this function use? is not the default set  (Read 114 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
In List of DNS Zone, when I click the button Rebuild Zone this module don't use the zone template selected in Server settings.

When I create an account ok, use the right zone template, but this useful function/module is using what zone template?

I'm doing a cpanel migrate and a lot of trash dns entries are migrate and the NSs entries are not swapped to default of the server. So rebuild zone function should be good if it worked.

The cpanel process have boring bugs arround DNS topic, other here:
https://forum.centos-webpanel.com/migration-from-other-control-panels/cpanel-cwp-migration-change-permission-of-varnamed-and-stop-bind/

Offline
*
The template file used by dns rebuild zone function is:

/usr/local/cwpsrv/htdocs/resources/conf/web_servers/conf_templates/named_new_dns_zone.conf

and is different of the default zone template to create new accounts:

/usr/local/cwpsrv/htdocs/resources/conf/dns/bind/zones/default.tpl

create a new file, make a backup, on update should be overwrited.