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!

Syncronize DNS Records Problem

Discussion in 'Bind/DNS/Nameserver' started by electrik, Mar 15, 2002.

  1. electrik

    electrik Member

    Joined:
    Dec 16, 2001
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    301
    I spent a few time setting secondary DNS on my CPanel server,
    the way to make it work is here: http://support.cpanel.net/obb/read.php?TID=1753


    But i have problem with syncronization,
    my main dns server have zone files located at:

    /var/named/run-root/var/
    (is a PSA server)

    After syncronization, Cpanel only update named.conf with all zones from 1st server, but it - don't download zone files -

    And clicking on Edit a DNS Zone, shows &zones& that is really content located on main server at dir:

    /var/named/

    It show directory: run-root as &zone&

    The problem is directory where secondary server looks for zone files. Where this dir is set?
     
  2. electrik

    electrik Member

    Joined:
    Dec 16, 2001
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    301
    ^^ :p
    im trying it yet... but no way
     
  3. electrik

    electrik Member

    Joined:
    Dec 16, 2001
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    301
    done

    I have found a temp solution,

    1.- have copied manually named.root copy on /var/named dir (at secondary server)

    2.- transfered named.conf with &Synchronize DNS Records With Primary Nameserver& option

    3.- then had to edit /etc/named.conf on secondary and put correct directory in options to make named able to find named.root

    options {
    directory &/var&;

    changed to cpanel/whm correct dir:

    options {
    directory &/var/named&;


    4.- then manually restart named
    /etc/init.d/named restart

    and it get all zone files from primary server and named finally starts correctly.

    --

    for next syncronizations points 2 / 3 / 4 are needed. &- If there is new zones added on primary

    Only a /etc/init.d/named restart from shell if there aren't new zones, only if some zone file have been modified.
     
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