LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-27-2016, 09:50 PM   #1
arash_gh
LQ Newbie
 
Registered: Jul 2016
Posts: 4

Rep: Reputation: Disabled
Possiblity to add new records to a slave server


Hi ;
I want to implement a DNS cluster of two Debian 8 servers with BIND9 , so they would act as backup of each other in the case of failure . I implemented a Master/Slave solution and enabled and successfully transferred zone from Master to Slave . But i have a little problem and it is that : How am i able to add new records when Master is not reachable? `cause i tested and conclude that Slave would deny requests from clients for new records thus not able to query new records added to Slave.

tnx in advance
 
Old 07-28-2016, 12:02 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
One way would be to prepare the slave for becoming the master. You could periodically synchronise (rsync would be a good choice) the master's /etc/bind/ to the slave as, say, /etc/bind.master/ Then, if the master goes down you could, on the slave:
  1. Stop service bind9
  2. Rename /etc/bind/ as /etc/bind.slave/
  3. Rename /etc/bind.master/ as /etc/bind/
  4. Start service bind9
I have not tested the technique so there may be some unforseen glitches to be identified by testing,
 
Old 07-28-2016, 12:52 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I rsync'd from master to slave once.
Couple of minor edits and bingo.
 
  


Reply



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
BIND Slave server not getting new records from master..!! GeorgeSKJ Linux - Server 2 07-16-2013 11:58 PM
how to add records in dns ?? dr.x Debian 7 02-07-2013 02:12 AM
Add MX Records hiep.pham Linux - Server 27 12-14-2012 05:39 AM
How to add ptr records in SunOS 5.10 DNS Server riyaskt Linux - Newbie 5 10-10-2012 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:51 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