New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

dns_rebuild_zone - what zone template this function use? is not the default set

Started by diogo-plta, October 16, 2024, 09:14:14 PM

Previous topic - Next topic

diogo-plta

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/

diogo-plta

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.