BIND9 reverse lookup failing for just one zone all other are working fine. I am setting up an internal DNS server with below config. I have added reverse files for /8 networks.
zone "test.com" {
type master;
file "/etc/bind/zones/db.test.com"; # zone file path
};
zone "10.in-addr.arpa" {
type master;
file "/etc/bind/zones/db.10"; #
};
zone "172.in-addr.arpa" {
type master;
file "/etc/bind/zones/db.172"; #
};
zone "138.in-addr.arpa" {
type master;
file "/etc/bind/zones/db.138"; #
};
All the zones are working fine except "172.in-addr.arpa" . I tried using the same file as db.10 but no luck and keep getting an error that file does not exist.
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA ubuntu1.cgi.com. admin.cgi.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
; name servers - NS records
IN NS ubuntu1.cgi.com.
; PTR Records
; 172.0.0.0 - A records
16.16.16 IN PTR host4
19.253.25 IN PTR host5