1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Secondary DNS

Discussion in 'Plesk for Linux - 8.x and Older' started by ebiven, Dec 12, 2005.

  1. ebiven

    ebiven Guest

    0
     
    I've searched but I'm not finding much on how people are doing secondary DNS. Are you guys using a service, setting up your own secondary box, or are you running a second copy of BIND on a different IP? I'd prefer to put the secondary DNS on another box but I do *not* want to have to make any manual changes on it when domains are added. Any suggestions to get me started?
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
  3. dennysp

    dennysp Guest

    0
     
    Question abouto that, are all those instructions to be done on both servers? I'm a bit confused there.
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Check out the forums on his site.
     
  5. Who-m3

    Who-m3 Guest

    0
     
    ART's version of Secondary DNS outlines, in it's setup procedures, the exactly configuration you'll need to setup.

    Step 1) add the following line to /etc/named.conf on both servers: --both

    Step 2) install the following 2 scripts into /var/named/run-root/etc
    gen-secondaries.sh This generates the secondaries.include file for your secondary server(s) -- goes on 1st box
    xfer-config.sh This downloads the secondaries.include from the master server(s). -- goes on 2nd box

    Step 3) create a directory /var/named/run-root/var/slave owned by the named user. -- both

    Step 4) Create 3 root cron jobs to generate configs, transfer files, and restart named . -- both

    Step 5) add a global allow rule into the PSA database on each server for each secondary server, as root: -- both

    Step 6) In the PSA control panel, log in as admin, goto Server->DNS->Add NS records for each secondary server -- 1st (master)
     
  6. dennysp

    dennysp Guest

    0
     
    I did it this way:

    Step 1: 2nd box
    Step 2) gen-secondaries.sh This generates the secondaries.include file for your secondary server(s) -- 1st box
    xfer-config.sh This downloads the secondaries.include from the master server(s). -- goes on 2nd box
    Step 3) 2nd box
    Step 4) Cronjob to generate file on 1st box, and jobs to retrieve data from master and restart bind on 2nd box.
    Step 5) 1st box
    Step 6) 1st box

    Since the primary is where all changes take place, I don't see the poing on having to pull data from the secondary server. This way I've done it is working fine.
     
Loading...