troubleshooting Question

BIND DNS slave server not pulling zone files from master

Avatar of drj003
drj003 asked on
DNSLinuxLinux Networking
8 Comments1 Solution9089 ViewsLast Modified:
There is a master BIND server and a slave. The slave works to resolve names that are in the zone files that are on the master, but it does not copy the zone files to itself.

Both systems are CentOS6.

It was attempted with selinux disabled on both machines.  Tried with iptables stopped on both machines also.


I guess it would be good to show the named.conf files and at least the forward zone file..  sorry for the long post but here goes..

**************************************************************************
named.conf file on master-
**************************************************************************

{

        directory "/var/named"; // the default
        dump-file       "data/cache_dump.db";
        statistics-file "data/named_stats.txt";
        memstatistics-file      "data/named_mem_stats.txt";

};


{
        channel default_debug {
                file "data/named.run";
                severity dynamic;
                };
};



zone "joshsmith.com" {
        type master;
        file "joshsmith.com";


};



zone "1.168.192.in-addr.arpa" {

        type master;
        file "192.168.1";

};

zone "2.168.192.in-addr.arpa" {
        type master;
        file "192.168.2";
};


        zone "." IN {
                type hint;
                file "named.ca";
        };



zone "localhost." IN {
        type master;
        file "named.localhost";

};

         zone "0.0.127.in-addr.arpa" IN {
                type master;
                file "named.loopback";
 };

**************************************************************************
named.conf on slave
**************************************************************************
options
{

        directory "/var/named"; // the default
        dump-file       "data/cache_dump.db";
        statistics-file "data/named_stats.txt";
        memstatistics-file      "data/named_mem_stats.txt";

};


{
        channel default_debug {
                file "data/named.run";
                severity dynamic;
                };
};



zone "joshsmith.com" IN {
        type slave;
        file "joshsmith.com";
        masters { 192.168.1.113; };

};


zone "1.168.192.in-addr.arpa" IN {
        type slave;
        file "192.168.1";
        masters { 192.168.1.113; };
};


zone "2.168.192.in-addr.arpa" IN {
        type slave;
        file "192.168.2";
        masters { 192.168.1.113; };
};


        zone "." IN {
                type hint;
                file "named.ca";
        };


zone "localhost." IN {
        type master;
        file "named.localhost";
       
};


        zone "0.0.127.in-addr.arpa" IN {
                type master;
                file "named.loopback";
                allow-update { none; };
        };

**************************************************************************
zone file joshsmith.com on the master which is not being copied to slave..
**************************************************************************
;
; Zone file for joshsmith.com
;
$TTL    86400

joshsmith.com. IN SOA  fajita.joshsmith.com.  root.joshsmith.com. (
                        2012053011      ; Serial
                        1d              ; refresh
                        2h              ; retry
                        4w              ; expire
                        1h )            ; min cache

joshsmith.com. IN NS fajita.joshsmith.com.

;
; Network Hosts
;
fajita IN A 192.168.1.113
CentOS1 IN  A   192.168.2.101
endgame IN A 192.168.1.122
*************************************************************************

again sorry for the long post.  Any help is appreciated..
ASKER CERTIFIED SOLUTION
Mysidia

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros