Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-29-2010, 12:45 PM   #1
Registered: Dec 2006
Posts: 107

Rep: Reputation: 17
Slave DNS Replication

hi guys

I configured a master DNS server working OK.
after that I configure a DNS Slave Server ( initial replication worked fine. .
this is test environment for my certification.

I see how the zones from my master are transferred
zones in Master

transferred zone to my slave when I started named service

that's OK

but I added some IPs to resolve to my master zone
webserver IN A
fileserver IN A

I restart/reload named on master and after that I go to slave and restart/reload but zones wuth the new values are not replicated....

any idea how long does it take for slave to take the changes from master? how is the procedure manual or automatic?

I see If I go to slave and delete and restart named the zone with the changes is transferred but that is very manual...

I am including my DNS Configuration so you can take a look
thanks a lot
Attached Files
File Type: pdf DNS Configuration.pdf (163.0 KB, 24 views)
Old 11-29-2010, 01:00 PM   #2
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Did you adjust the zone serial number on the master?


Old 11-29-2010, 01:22 PM   #3
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,732

Rep: Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584

Apart from increasing the serial number as mentioned by the previous poster, you need to add a NS record for the slave dns in both zones, so the master send notifies to slaves:
            IN NS
            IN NS
You have also some errors in the reverse zone (two "10 IN PTR ..." RRs and missing the FQDN for the rest)
            IN NS
            IN NS
10        IN    PTR 
11        IN    PTR   secdns. ;
Old 11-29-2010, 03:06 PM   #4
Registered: Dec 2006
Posts: 107

Original Poster
Rep: Reputation: 17
thanks a lot guys

working as it should

now I am going to try to find out how to set up a cache and forward DNS Servers.

I will post the conf and step when I finish this.
Old 12-01-2010, 02:54 PM   #5
Registered: Dec 2006
Posts: 107

Original Poster
Rep: Reputation: 17
thanks a lot guys

I got the final result

Configure Master/Slave DNS scenario under Centos 5.x

This is a basic configuration and I am learning basically if you see something that should be change or you have an question let me know
Attached Files
File Type: pdf Master and Slave DNS Configuration.pdf (603.8 KB, 0 views)


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
MySQL Master-Slave Replication - How to make the slave read-only? saagar Linux - Server 1 08-31-2010 08:13 AM
DNS not replication to 2nd slave server codenjanod Linux - Networking 1 11-02-2009 07:42 AM
MySQL Master-SLave Replication?? linuxshadow Linux - Server 7 06-13-2008 09:22 AM
LDAP in master-slave replication aravind1024004 Linux - Server 1 04-10-2008 10:21 PM
OpenLDAP Replication Master\Slave paul_mat Linux - Networking 3 10-18-2006 07:37 AM

All times are GMT -5. The time now is 05:56 PM.

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