reverse-zone and subnet
Peter Pilsl
pilsl at goldfisch.at
Fri Jan 18 12:39:25 UTC 2002
bind 9.1.3 on linux
Somehow I cant manage to create a appropriate settings for
reverse-lookup on our subnet.
The subnet we own is 213.229.42.96/255.255.255.248 (213.229.42.96/29)
I tried the following approach:
zone "29/96.42.229.213.in-addr.arpa" IN {
type master;
file "master/213.229.42.96";
allow-query { any; };
};
and the zonefile looks like:
$ORIGIN .
$TTL 259200 ; 3 days
29/96.42.229.213.in-addr.arpa IN SOA ns1.ihf-hr.org. pilsl.goldfisch.at. (
2002011804 ; serial
28800 ; refresh (8 hours)
7200 ; retry (2 hours)
2419200 ; expire (4 weeks)
86400 ; minimum (1 day)
)
NS ns1.ihf-hr.org.
NS ns2.ihf-hr.org.
$ORIGIN 42.229.213.in-addr.arpa.
97 PTR gate.ihf-hr.org.
98 PTR alpha.ihf-hr.org.
102 PTR beta.ihf-hr.org.
100 PTR gamma.ihf-hr.org
however, named gives me
Jan 18 13:32:31 server named[12614]: dns_master_load: master/213.229.42.96:14: ignoring out-of-zone data (97.42.229.213.in-addr.arpa)
Jan 18 13:32:31 server named[12614]: dns_master_load: master/213.229.42.96:15: ignoring out-of-zone data (98.42.229.213.in-addr.arpa)
....
what am I doing wrong here ?
thnx,
peter
ps: is it possible to move two ip's (99,101) in a different SOA
without needing to change things on the ISP-side ?
--
peter pilsl
phone: +43 699 13574035
fax : +43 699 43574035
email: pilsl at goldfisch.at
pgp-key available
More information about the bind-users
mailing list