reverse-zone and subnet
Niels Sommer
ns at idatahouse.com
Fri Jan 18 13:48:57 UTC 2002
You have to get your ISP to delegate the 29/96.42.229.213.in-addr.arpa
address space to you. In their DNS server they have to create in the
42.229.213.in-addr.arpa zone file:
96-103 86400 IN NS ns1.ihf-hr.org
96-103 86400 IN NS ns2.ihf-hr.org
97 IN CNAME 97.96-103
98 IN CNAME 98.96-103
99 IN CNAME 99.96-103
100 IN CNAME 100.96-103
101 IN CNAME 101.96-103
102 IN CNAME 102.96-103
Niels Sommer
----- Original Message -----
From: "Peter Pilsl" <pilsl at goldfisch.at>
To: <bind-users at isc.org>
Sent: Friday, January 18, 2002 1:39 PM
Subject: reverse-zone and subnet
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