Question : Secondary BIND can't get update from primary

I have a primary BIND server that runs without problem, I am trying to setup secondary BIND server. but the secondary server doesn’t receive any data from the primary server.

Primary server named.conf configuration:

options {
 directory "/var/named";
};
zone "." {
    type hint;
    file "named.root";
   };

zone "testme.org" in {
   type master;
   file "db.testme.org";
   allow-update { none; };
   //ip address of my secondary BINS server
   allow-transfer { 10.1.3.3; };  
   };

zone "3.1.10.in-addr.arpa" in{
  type slave;
  file "db.10.1.3";
  };

zone "localhost" in {
    type master;
    file "master.localhost";
    };


Secondary configuration:

options {
   directory "/var/named";
};
zone "." {
   type hint;
   file "named.root";
   };

zone "testme.org" in {
   type slave;
   file "bak.testme.org";
  //primary server IP address
   masters { 10.1.3.30; };
   };

zone "3.1.10.in-addr.arpa" in{
  type slave;
  file "db.10.1.3.sec";
  };

zone "localhost" in {
    type master;
    file "master.localhost";
    };

I have disabled firewall and SeLinux. I typed (server named restart) but still the secondary zone files are still empty.  Any idea why I am not receiving update from primary server?

Answer : Secondary BIND can't get update from primary

ok check the permission for secondary zone file

you need the permission

chown named:named secondaryzone.zone


Random Solutions  
 
programming4us programming4us