Here's a reverse zone file for my home network. It's 10.10.0/24
but you'll figure out how to tailor this to your needs.
Yikes I promised to post my reverse file based on your example and
then mailed my response without including it. You saw the failure:
nslookup 192.168.1.2
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find 2.1.168.192.in-addr.arpa: NXDOMAIN
Here is the zone file:
db.192.168.1
$TTL 1D
$ORIGIN 0.168.192.IN-ADDR.ARPA.
4 IN SOA reader.local.lan. reader.reader.local.lan. (
200405190 ; serial
28800 ; refresh (8 hours)
14400 ; retry (4 hours)
2419200 ; expire (4 weeks)
86400 ; minimum (1 day)
)
;
; Name servers (The name '@' is implied)
;
IN NS reader
$ORIGIN 1.168.192.IN-ADDR.ARPA.
;
; Addresses point to canonical names
;
2 IN PTR rdmz.local.lan.
1 IN PTR fwdmz.local.lan.
What's in your named.conf?
Should be something like this:
zone "local.lan" IN {
...
};
zone "0.168.192.in-addr.arpa" IN {
...
};
zone "1.168.192.in-addr.arpa" IN {
...
};
--
gentoo-user@gentoo.org mailing list