Creating a 2nd slave nameserver outside of cPanel

kiti

Member
Sep 16, 2015
19
3
53
france
cPanel Access Level
Root Administrator
If i setup a secondary nameserver outside of Cpanel/whm and if i modify /etc/named.conf by adding in options

allow-transfer {XX.XX9.53.64;};
also-notify {XX.XX9.53.64;};
notify yes;

will cpanel/whm never delete my entries? I would like my Cpanel/whm server to be the master namerserver and I would like to create a secondary nameserver on which I would manually install BIND with a copy of my Cpanel server zones.
 

SS-Maddy

Well-Known Member
Mar 28, 2009
130
18
68
cPanel Access Level
Root Administrator
Hello @kiti

cPanel/WHM shouldn't delete the entries and you should be able to work with master/slave setup.

Being said this, I doubt whether cPanel would support such a setup. cPanel recommends the DNS cluster and it does work great and very smooth! Never faced an issue with cPanel DNS cluster since 2005 or so :) BTW don't run any /scripts/rebuilddnsconfig or related scripts as it will rebuild the entire named.conf and your settings may be lost then. I believe it is better to add as include directive than to add it directly.
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,273
313
Houston
  • Like
Reactions: kiti