Bind DNS server not working Centos7
by jpedvis from LinuxQuestions.org on (#52S7A)
Hi, I'm trying to setup a DNS server on my Centos7 virtual machine for 3 nested vms. It isn't working. I've tried so many things but nothing is working. Here are my named.conf and zone files:
options {
directory "/var/named/";
allow-query {any; };
forwarders { 208.67.222.222; }; # This one works at home
listen-on { any; };
#forwarders { 10.102.100.21; }; # This one works at Seneca
};
zone "localhost" {
type master;
file "named.localhost";
};
zone "jpedvis" {
type master;
file "mydb-for-jpedvis-ops";
};
$TTL 3D
@ IN SOA host.jpedvis.ops.root.jpedvis.ops.(
2018042901 ; Serial
8H ; Refresh
2H ; Retry
1W ; Expire
1D ; Negative Cache TTL
)
@INNShost
@INA192.168.90.1
hostIN A 192.168.90.1
vm1INA192.168.90.2
vm2INA192.168.90.3
Thanks!


options {
directory "/var/named/";
allow-query {any; };
forwarders { 208.67.222.222; }; # This one works at home
listen-on { any; };
#forwarders { 10.102.100.21; }; # This one works at Seneca
};
zone "localhost" {
type master;
file "named.localhost";
};
zone "jpedvis" {
type master;
file "mydb-for-jpedvis-ops";
};
$TTL 3D
@ IN SOA host.jpedvis.ops.root.jpedvis.ops.(
2018042901 ; Serial
8H ; Refresh
2H ; Retry
1W ; Expire
1D ; Negative Cache TTL
)
@INNShost
@INA192.168.90.1
hostIN A 192.168.90.1
vm1INA192.168.90.2
vm2INA192.168.90.3
Thanks!