Avatar of drj003
drj003

asked on 

BIND DNS slave server not pulling zone files from master

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..
DNSLinuxLinux Networking

Avatar of undefined
Last Comment
drj003

8/22/2022 - Mon