LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2011, 04:58 AM   #1
Patric.F
Member
 
Registered: Feb 2010
Posts: 45

Rep: Reputation: 0
multiple bind9 setup and transfer zones


Hi,


I'm going to setup two DNS servers to begin with. Although I've been playing around with Bind before and changed/created records in zones etc. the setup and it's configuration is just a little confusing at the moment.

I will be using Debian 6.0 with the Bind version in the repository.

The thing I need help understanding is how do I transfer zones between the servers?
If I create a new zone/domain on the "master" server and do a reload of Bind, will it transfer the whole zone configuration or will I have to enter it manually on the "slave" in /etc/bind/named.conf.local?

If I have to do it manually, is there a way to do this automatically with a script or some configuration?


How would you setup two DNS servers? Do I set them up as "master" and "slave" so I only change the records on the master and it will automatically transfer the changes to the slave/s? What if the master server dies and I need to change the records, how will this be handled?


Thanks for any information!
-Patric
 
Old 08-11-2011, 08:03 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,815

Rep: Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864
Hello,

Quote:
If I create a new zone/domain on the "master" server and do a reload of Bind, will it transfer the whole zone configuration or will I have to enter it manually on the "slave" in /etc/bind/named.conf.local?
You should manually add the new zone definition in slave's named.conf and after that everything is done automatically.

Quote:
If I have to do it manually, is there a way to do this automatically with a script or some configuration?
Sure you can write a script to append the new zone definition in slave's named.conf. You can also add zones dynamically on both master and slave(s), if you run a recent version of bind.

Quote:
How would you setup two DNS servers? Do I set them up as "master" and "slave" so I only change the records on the master and it will automatically transfer the changes to the slave/s? What if the master server dies and I need to change the records, how will this be handled?
Yes, using a master/slave(s) approach is the usual way
If master dies, you can change records in slave and increase the serial, so when master comes up again, no transfer will happen. Then you can transfer the updated zone from the slave to the master.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bind9 zone transfer weirdness gdanko Linux - Server 5 07-13-2010 06:06 PM
Bind9 Zone Transfer Issues lomax0990 Linux - Server 6 10-23-2009 02:46 AM
Windows 03 DNS zone transfer to BIND9 on Suse 10 Enterprise clincoln Linux - Networking 11 08-15-2008 02:03 AM
bind9 zones config files help lucastic Linux - Server 1 09-25-2007 05:24 PM
IP Cop 1.4 multiple green zones fredmon Linux - Networking 1 12-24-2004 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration