BIND 8.2 and RFC 2317 (Classless IN-ADDR.ARPA delegation)
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Tue Mar 7 05:24:39 UTC 2000
> Hi,
>
> I am trying to set Classless IN-ADDR.ARPA delegation on my Bind 8.2
> with $GENERATE directive but it seems to not work.
>
> Here is the configuration I have :
>
> a 0.97.149.193.in-addr.arpa. zone on my external NS
> (logatome.francenet.fr) :
Generally the name will be related to the address range in
question. 0 is unrelated to 200-205.
200.97.149.193.in-addr.arpa or 200-205.97.149.193.in-addr.arpa
would be more appropriate choices.
>
> $ORIGIN 0.97.149.193.in-addr.arpa.
> @ IN SOA logatome.0.97.149.193.in-addr.arpa. root.loga
> tom
> e.alex.test.francenet.fr. (
Use logatome.alex.test.francenet.fr not
logatome.0.97.149.193.in-addr.arpa for the origin field.
> 2000022402
> 21600
> 3600
> 3600000
> 900 )
>
> IN NS logatome.alex.test.francenet.fr.
>
> 200 IN PTR bla.alex.test.francenet.fr.
> 201 IN PTR blabla.alex.test.francenet.fr.
> 202 IN PTR blablabla.alex.test.francenet.fr.
>
> an alex.test.francenet.fr. zone on my external NS
> (logatome.francenet.fr) :
>
> $ORIGIN alex.test.francenet.fr.
> @ IN SOA logatome.alex.test.francenet.fr. root.logatom
> e.a
> lex.test.francenet.fr. (
> 2000022403
> 21600
> 3600
> 3600000
> 900 ) ;; ANSWER SECTION:
> 200.97.149.193.in-addr.arpa. 1D IN CNAME 200.0.97.149.193.in-addr.arpa.
>
>
> IN NS logatome.alex.test.francenet.fr.
>
> logatome IN A 193.149.96.2
>
> bla IN A 193.149.97.200
> blabla IN A 193.149.97.201
> blablabla IN A 193.149.97.202
>
>
> $GENERATE directives in 97.149.193.in-addr.arpa on my NS :
>
You don't need a $GENERATE directive for the NS record below.
> $GENERATE 200-205 0 NS logatome.francenet.fr.
> $GENERATE 200-205 $ CNAME $.0
>
> However, when I tried "dig -x 193.149.97.200", I get :
Try "dig ptr -x 193.149.97.200", your original query is equivalent
to "dig any -x 193.149.97.200" and "any" queries do not follow CNAMES.
; <<>> DiG 8.2 <<>> ptr -x
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;; 200.97.149.193.in-addr.arpa, type = PTR, class = IN
;; ANSWER SECTION:
200.97.149.193.in-addr.arpa. 23h47m29s IN CNAME 200.0.97.149.193.in-addr.arpa.
200.0.97.149.193.in-addr.arpa. 2m29s IN PTR bla.alex.test.francenet.fr.
;; AUTHORITY SECTION:
0.97.149.193.in-addr.arpa. 2m29s IN NS logatome.alex.test.francenet.fr.
;; Total query time: 5 msec
;; FROM: bsdi.dv.isc.org to SERVER: default -- 130.155.191.233
;; WHEN: Tue Mar 7 16:24:05 2000
;; MSG SIZE sent: 45 rcvd: 128
Mark
>
> ;; ANSWER SECTION:
> 200.97.149.193.in-addr.arpa. 1D IN CNAME 200.0.97.149.193.in-addr.arpa.
>
> and not, bla.alex.test.francenet.fr.
> And I can see that no DNS request arrives on my external NS.
>
> What is the problem here ?
>
> BTW what could be the GENERATE synthax in order to implement a unique
> zone on the external NS for the reverse zone and the zone itself like
> described in the 5.2 part of the RFC ?
>
> Thanks in advance for your help. Gildas.
>
> --
> Gildas PERROT, perrot at francenet.fr __o
> FranceNet, 28 rue Desaix, 75015 Paris ---_ \<,_
> http://www.francenet.fr ---- (_)/ (_)
>
>
--
Mark Andrews, Nominum Inc. / Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list