BIND 8.2.3 Classless Example
Bob Vance
bobvance at alumni.caltech.edu
Mon Feb 5 16:18:15 UTC 2001
Please help me out, Edward -- *I'm* confused by your example :)
>Classless delegation is independent of the number of
>DNs. You might have one DN and several non-contiguous
>7-bit subnets; there are other possibilities.
True, but really a non-sequitur, I think.
I believe that your example on the web site is still incorrect.
The CNAMEs in the "full" reverse zone should point to some *other*
zone, otherwise, what's the point (maybe I'm missing something), even if
it were allowed.
$ORIGIN 4.168.192.in-addr.arpa.
...
$GENERATE 1-127 $ CNAME $.0/25.4.168.192.in-addr.arpa.
$GENERATE 129-254 $ CNAME $.128/25.4.168.192.in-addr.arpa.
That is fine -- satisfies the "real" reverse request ...
But why try to have the canonical data in *this* same zone??? :
... ;;;; (above zone file continues)
$ORIGIN 0/25.4.168.192.in-addr.arpa.
1 IN PTR one.test.com.
2 IN PTR two.test.com.
3 IN PTR tre.test.com.
There is no benefit from it. You would achieve the same thing by simply
removing the CNAMEs and the 0/25 $ORIGIN, without the extra lookup!!
Those sub-zone PTRs should be in *another* zone (in fact, usually
delegated to someone else :) :
;;;
;;;zone file at authority for "full" reverse zone
;;;
$ORIGIN 4.168.192.in-addr.arpa.
...
$GENERATE 1-127 $ CNAME $.0/25.4.168.192.in-addr.arpa.
0/25 IN NS .... ;; delegation
;;;
;;;zone file at authority for "partial" reverse zone
;;;
;;;$ORIGIN 0/25.4.168.192.in-addr.arpa.
$INCLUDE named.soa
...
1 IN PTR one.test.com.
2 IN PTR two.test.com.
3 IN PTR tre.test.com.
-------------------------------------------------
Tks | <mailto:BVance at sbm.com>
BV | <mailto:BobVance at alumni.caltech.edu>
Sr. Technical Consultant, SBM, A Gates/Arrow Co.
Vox 770-623-3430 11455 Lakefield Dr.
Fax 770-623-3429 Duluth, GA 30097-1511
=================================================
-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of esiewick at my-deja.com
Sent: Sunday, February 04, 2001 3:31 PM
To: comp-protocols-dns-bind at moderators.isc.org
Subject: Re: BIND 8.2.3 Classless Example
In article <95bboq$38a at pub3.rc.vix.com>,
Mark.Andrews at nominum.com wrote:
> Looking at your web page you are obviously confused.
Nope.
Classless delegation is independent of the number of
DNs. You might have one DN and several non-contiguous
7-bit subnets; there are other possibilities. The
example at <http://www.digipro.com/Papers/bind-8.2.3.shtml>
is meant to provide a minimal skeleton for DNS admins
trying to deal with certain of the syslog errors
related to the ordering of CNAMEs after PTR records.
I had to restructure DNS config files between 8.2.2
and 8.2.3 where CNAME and PTR records were stored
in per DN files, where collections of records
resulted in dysfunctional tables like:
x.x.x.0:
CNAME
PTR
x.x.x.128:
CNAME
PTR
Under 8.2.2, this sort of thing didn't cause zones
to be rejected.
If you have comments, send email. I don't spend
a whole lot of time in newsgroups.
Edward Siewick
DigiPro Digital Productions
Arlington, Virginia, USA
Sent via Deja.com
http://www.deja.com/
More information about the bind-users
mailing list