Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

BIND DNS slave server not pulling zone files from master

Avatar of drj003
drj003 asked on
LinuxLinux NetworkingDNS
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
Avatar of Mysidia
MysidiaFlag of United States of America image

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

Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answers