Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Creating a 2nd slave nameserver outside of cPanel

Discussion in 'Bind/DNS/Nameserver' started by kiti, Jul 1, 2018.

  1. kiti

    kiti Member

    Joined:
    Sep 16, 2015
    Messages:
    17
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    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.
     
  2. SS-Maddy

    SS-Maddy Well-Known Member

    Joined:
    Mar 28, 2009
    Messages:
    101
    Likes Received:
    6
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren likes this.
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,835
    Likes Received:
    134
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    kiti likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice