I am trying to set up an authoritative BIND server and every time I run into the same problem on CentOS. I can run the dig command locally for zones on the server however when I run nslookup - serverip
from cmd.exe i get no response.
The firewall is open on the server and bind shows nothing in /var/log/messeges
or in /var/named/data/named.run
Here is my /etc/named.conf
options {
listen-on port 53 { 127.0.0.1; 172.16.100.1; 1.1.1.1; };
//listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
allow-transfer { localhost; 172.16.100.67; };
recursion no;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named/zones.conf";
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
I have rebooted and disabled SELinux to eliminate it. I have checked the correct firewall settings are in place.
named-checkconf /etc/named.conf
shows no errors and the service starts successfully, I can ping the server.
Thanks in advance!