LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Slave DNS Replication (https://www.linuxquestions.org/questions/linux-newbie-8/slave-dns-replication-847275/)

karlochacon 11-29-2010 12:45 PM

Slave DNS Replication
 
1 Attachment(s)
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

fordeck 11-29-2010 01:00 PM

Did you adjust the zone serial number on the master?


Regards,

Fordeck

bathory 11-29-2010 01:22 PM

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

karlochacon 11-29-2010 03:06 PM

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.

karlochacon 12-01-2010 02:54 PM

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


All times are GMT -5. The time now is 02:37 AM.