LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-02-2009, 07:22 AM   #1
codenjanod
Member
 
Registered: Oct 2006
Posts: 38

Rep: Reputation: 15
DNS not replication to 2nd slave server


Hi All,

I am still learning about DNS but now I am sitting with a bit of a problem.
I have 3 DNS servers, running various OS's and various versions of BIND.
Primary DNS server:
Slackware 8.1 with BIND 9.2.1

Secondary DNS server 1:
Mandrake 10 with BIND 9.2.3rc2

Secondary DNS server 2:
CentOS 5.4 with BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5

Updates happen fine between the primary and 1st secondary server. (This system was inherited by me)
But updates does not reach the 2nd secondary server at all. (New server installed recently)

The logs on the primary server and 2nd secondary server shows no errors.
The "named" service starts up without any issues on the 2nd secondary server.
Iptables have been disabled on the 2nd secondary server.

The named.conf file for the primary and 1st secondary server is as follows:
Code:
options {
    directory "/etc/namedb";
        allow-recursion { 192.168.0.0/24; 10.8.0.0/24; 10.9.0.0/24; localhost; };
        allow-transfer { localhost; 196.15.5.6; 196.25.4.9; 196.37.174.39; };
        forwarders { 158.215.2.5; 196.16.236.6; };
        version "GoAway(TM) v 0.91";
        notify yes;
};

key "rndc-key" {
      algorithm hmac-md5;
      secret "xxxxxxxxxxxxxxxxxxxx";
};

controls {
      inet 127.0.0.1 port 953
      allow { 127.0.0.1; } keys { "rndc-key"; };
};
...
...
zone .....
.....

I basically copied the config from my 1st secondary server(the working one) to the 2nd secondary server, except for the "zone" entries and also none of the zone files.
The "named" service still start up without any issues.

The named.conf file for the 2nd secondary server is as follows:
Code:
options {
    directory "/var/named";
        allow-recursion { 192.168.0.0/24; 10.8.0.0/24; 10.9.0.0/24; localhost; };
        allow-transfer { localhost; 196.15.5.6; 196.25.4.9; 196.37.174.39; };
        forwarders { 158.215.2.5; 196.16.236.6; };
        version "GoAway(TM) v 0.91";
        notify yes;
};

key "rndc-key" {
      algorithm hmac-md5;
      secret "xxxxxxxxxxxxxxxxxxxx";
};

controls {
      inet 127.0.0.1 port 953
      allow { 127.0.0.1; } keys { "rndc-key"; };
};

The rndc keys are the same on all 3 the servers.
I checked with netstat and the "named" service is listening on the 2nd secondary server.

The only difference I can see is the directory entry between the 1st and 2nd secondary servers.
From my limited knowledge the zone entries and files should be pulled over.

Thanks for the help
 
Old 11-02-2009, 07:42 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Make sure that you have added a NS record for the 2nd slave among the NS records for every zone the master is authoritative for.
You can check the log files, to see if the master sends notifies to the 2nd slave.

Regards
 
  


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
how to configure master dns in windows2003 server and its slave dns in rhel5 suneellinux Linux - Newbie 1 04-11-2008 05:13 PM
Secondary DNS server replication? just_me_then Linux - Server 9 05-17-2007 03:10 PM
DNS Server: Master/Slave Swakoo Linux - Networking 3 06-30-2006 04:58 AM
Master/Slave server DNS emailssent Linux - Networking 2 10-04-2004 03:21 AM
Slave DNS server guntanis Linux - Networking 4 12-10-2003 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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