I have 3 Debian VM. 1)DNS 2)DHCP 3)Client
DHCP looks ok. I got my fixed-address on DNS and Client like I want.
When I try to ping each of them @ip it's responding. If I try to :
ping dhcp
But I got a :
unknown host dhcp
Same for nas.
I don't know where it come from because I have set my zone and db file correctly.
named.conf.local
//
// Do any local configuration here
//
zone "pro.lan" {
type master;
file "/etc/bind/db.pro.lan";
};
zone "84.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.pro.lan.inv";
};
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
db.pro.lan
$TTL 604800
@ IN SOA dns.pro.lan. root.pro.lan. (
2015052401
604800
86400
2419200
604800
)
pro.lan IN NS dns.pro.lan.
dns IN A 192.168.84.50
dhcp IN A 192.168.84.51
nas IN A 192.168.84.10
db.pro.lan.inv
$TTL 604800
@ IN SOA dns.pro.lan. root.pro.lan. (
2015052401
604800
86400
2419200
604800
)
IN NS dns.pro.lan.
50 IN PTR dns
51 IN PTR dhcp
10 IN PTR nas
Edit : I modified the file thanks to @Eric Renouf
named-checkconf
it's looks good but
named-checkzone pro.lan db.pro.lan
zone pro.lan/IN: has no NS records
same for rDNS file.