Hi All,
My problem is simple - I have a server on my LAN running named and using that machine I can resolve names to addresses on my local LAN and outside, and resolve outside IP's back to names. But I cannot resolve IP's in the range 192.168.0.X back to names on the LAN:
Code:
[root@obelix named]# host asterix
asterix.doh.net.au has address 192.168.0.4
[root@obelix named]# host 192.168.0.4
Host 4.0.168.192.in-addr.arpa not found: 3(NXDOMAIN)
So I have a problem. I have tried debugging this for a while with no luck - usually this is not so hard but I'm stumped as to why this isn't working now. If anyone can help me I would be very grateful. My named.comf is nothing unusual:
Code:
[root@obelix named]# cat /etc/named.conf
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders { 144.140.70.29; 144.140.71.29; };
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "doh.net.au" IN {
type master;
notify no;
file "doh.zone";
allow-update {none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "localhost.rev";
allow-update { none; };
};
zone "0.168.192.in-arpa" IN {
type master;
notify no;
file "192.168.0.rev";
allow-update {none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
include "/etc/rndc.key";
And the relevant reverse zone file:
Code:
; Brian Grasby 08/07/2005
; Start of Authority (SOA) records
$TTL 345600
@ IN SOA obelix.doh.net.au. briang.doh.net.au. (
200607121 ; Serial
86400 ; Refresh
7200 ; Retry
2592000 ; Expire
345600 ) ; Minimum
; Nameserver (NS) records
NS obelix.doh.net.au.
; Reverse lookup pointers to names
2 PTR travel-laptop.doh.net.au.
3 PTR michelle.doh.net.au.
4 PTR asterix.doh.net.au.
5 PTR office.doh.net.au.
6 PTR cacophonix.doh.net.au.
7 PTR obelix.doh.net.au.
8 PTR bryan.doh.net.au.