• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Secondary DNS

E

ebiven

Guest
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?
 
Question abouto that, are all those instructions to be done on both servers? I'm a bit confused there.
 
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)
 
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.
 
Back
Top