LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-29-2010, 12:45 PM   #1
karlochacon
Member
 
Registered: Dec 2006
Posts: 109

Rep: Reputation: 17
Slave DNS Replication


hi guys

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

I see how the zones from my master are transferred
zones in Master
training.com.db

transferred zone to my slave when I started named service
sec.training.com.db

that's OK

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

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 sec.training.com 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, 118 views)
 
Old 11-29-2010, 01:00 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

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


Regards,

Fordeck
 
Old 11-29-2010, 01:22 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Hi,

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:
Code:
...
            IN NS masterdns.training.com.
            IN NS secdns.training.com.
...
You have also some errors in the reverse zone (two "10 IN PTR ..." RRs and missing the FQDN for the rest)
Code:
...
            IN NS    masterdns.training.com.
            IN NS secdns.training.com.
10        IN    PTR   training.com. 
11        IN    PTR   secdns. training.com. ;
...
Regards
 
Old 11-29-2010, 03:06 PM   #4
karlochacon
Member
 
Registered: Dec 2006
Posts: 109

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
karlochacon
Member
 
Registered: Dec 2006
Posts: 109

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)

http://www.mediafire.com/?c5r6kp05zlabb60
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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