The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Secondary DNS Server

Discussion in 'Bind / DNS / Nameserver Issues' started by apiis, Dec 4, 2007.

  1. apiis

    apiis Registered

    Joined:
    Dec 4, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    We are setting up a secondary DNS server with an outside company. Our primary nameservers are ns1 and ns2 and are hosted on our WHM 11.11.0 cPanel 11.15.0-R18264 dedicated server. The documentation for the secondary DNS provider states to edit the BIND directive allow-transfer to include their ns IP address.

    Does anyone know how I can set this up? The only thing I can find in the control panel and documentation resolves around clustering and requires root passwords, which obviously we would not have.

    Any help would be appreciated!

    Thanks.
     
  2. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    You need to open /etc/named.conf

    somewhere within options, you want to add

    allow-transfer {x.x.x.x; };

    You need root access to do this.

    If you do not hae root access to this server, ask you host to set allow-transfer for just your DNS zone.
     
  3. artur1975

    artur1975 Registered

    Joined:
    May 22, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    i have root acces with whm and i cant see the file

    i have root acces with whm and i cant see the file /etc/named.conf
    where do i go to find these (/etc/named.conf) plese
     
  4. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Within your http.conf, find "options"

    Here is a sample of one of my "options" files.

    options {
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    allow-recursion { 127.0.0.1; };
    listen-on {a.b.c.d; };
    };
    (a.b.c.d is an IP address on the server, and is listed because I only want DNS to function on this IP)

    In this you would want to add:

    allow-transfer {x.x.x.x; };

    x.x.x.x is the IP address of the other DNS server.
     
  5. arhs

    arhs Well-Known Member

    Joined:
    Jul 4, 2003
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    You mean named.conf ?
     
  6. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Uh, yes... Of course!!!!

    (brain fart!!!)
     
Loading...

Share This Page