Having some problems w/ a classless reverse zone (/23).
Redhat FC2, bind 9.3.0
From my named.conf:
Code:
zone "0/23.z.y.x.in-addr.arpa" {
type master;
file "db.x.y.z";
allow-update { none; };
allow-query { any; };
};
And the db.x.y.z file:
Code:
$TTL 86400
$ORIGIN 0/23.z.y.x.in-addr.arpa.
@ IN SOA ns2.domain.com. postmaster.domain.com. (
2005030702 ; serial
3600 ; refresh (1 hour)
1800 ; retry (30 minutes)
604800 ; expire (1 week)
86400 ) ; minimum (1 day)
IN NS ns1.domain.com.
IN NS ns2.domain.com.
4 IN PTR ns1.domain.com.
11 IN PTR mail.domain.com.
According to syslog it loads the zone w/o any errors, but I get a SERVFAIL when trying to dig -x x.y.z.4 @localhost
I can, of course, resolve other forward and reverse zones on the same nameserver (zones which it is authoritative for or not, doesn't matter). Its just this one reverse zone. The other reverse zones are classful (/24 networks).
EDIT: Just for SnG's, I changed it to a /24 by changing named.conf from:
zone "0/23.z.y.x.in-addr.arpa" {
to:
zone "z.y.x.in-addr.arpa" {
And just changing the origin in the zone file. It resolves perfectly fine now. So apparently something with the way I'm defining it as a classless /23 is causing the problem.