How to do I do reverse on a Supernet?
Berislav Todorovic
BERI at etf.bg.ac.yu
Wed Jul 21 17:29:16 UTC 1999
In article <Pine.OSF.3.96.990721132916.5303K-100000 at firma.thezone.net>,
"Roderick B. Greening" <roderick at cableatlantic.nf.ca> wrote:
> But RFC 2317 does not cover shorter prefixes like /23, /22, or /21?
For prefixes shorter than /24, but lonter than /16 you can:
* Create a separate subdomain for each /24 ("class C" subnet), or
* Directly write PTRs in the reverse zone for the whole /16 block.
The latter method is more painful, but with BIND 8.2.1 it doesn't have
to be, if your hosts use automatically generated names (you can use
$GENERATE). Example:
$ORIGIN 16.172.in-addr.arpa.
; --- 172.16.0/23 - separate subdomain method
0 IN NS ns1.mydomain.com.
IN NS ns2.mydomain.com.
1 IN NS ns1.mydomain.com.
IN NS ns2.mydomain.com.
; --- 172.16.4/22 - direct PTR records method
$GENERATE 1-254 $.4 IN PTR dial4-$.mydomain.com.
$GENERATE 1-254 $.5 IN PTR dial5-$.mydomain.com.
$GENERATE 1-254 $.6 IN PTR dial6-$.mydomain.com.
$GENERATE 1-254 $.7 IN PTR dial7-$.mydomain.com.
Regards,
Beri
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
More information about the bind-users
mailing list