classless delegation: bad referral

torben fjerdingstad unitfj-bind at tfj.rnd.uni-c.dk
Fri Dec 15 10:04:25 UTC 2000


Kevin Darcy wrote:

> Joseph S D Yao wrote:
> > On Thu, Dec 14, 2000 at 05:06:40PM +0100, torben fjerdingstad wrote:
> > > I want to delegate the lower half of 209.226.130.in-addr.arpa to
> > > post.kapow.dk.
> > > I told them to name their zone 0.209.226.130.in-addr.arpa.
> > >
> > > On ns-soa.darenet.dk, I have delegated 209.226.130.in-addr.arpa to
> > > myself:
> > >
> > > $ORIGIN 226.130.in-addr.arpa
> > > 209             IN      NS      ns-soa.darenet.dk.
> > >
> > > And in the 209.226.130.in-addr.arpa zone file, I delegate
> > > 0.209.226.130.in-addr.arpa to them:
> > >
> > > $ORIGIN 209.226.130.in-addr.arpa
> > > 0                       IN      NS      post.kapow.dk.
> > >                         IN      NS      mr.tv2.dk.
> > > $GENERATE 1-126 $ CNAME $.0
> >
> > You can't delegate subdomains in exactly this way.
> 
> Why not? 0.209.226.130.in-addr.arpa is delegated, all of the
> *.209.226.130.in-addr.arpa aliases, from 1 through 126, point into that
> delegated zone. Sure, it doesn't follow the usual RFC 2317-inspired naming
> conventions, but it should still work.
> 
> I think the real problem is the one I identified earlier, i.e. a stale
> slave for 226.130.in-addr.arpa.
 
You think that mimer.snet.uvm.dk is the master for 226.130.in-addr.arpa
and ns-soa.darenet.dk is a stale slave.
How do you get that information? As a matter of fact, ns-soa.darenet.dk
is the master. So is can't be a stale slave.

ns-soa.darenet.dk is the master of:
226.130.in-addr.arpa
209.226.130.in-addr.arpa

And it delegates 0.209.226.130.in-addr.arpa to post.kapow.dk.
$ORIGIN 209.226.130.in-addr.arpa
0                       IN      NS      post.kapow.dk.
                        IN      NS      mr.tv2.dk.
$GENERATE 1-126 $ CNAME $.0

It seems to work, but post.kapow.dk reports:

bad referral (226.130.in-addr.arpa !< 209.226.130.in-addr.arpa)

Why? I can't spot my error.

-- 
Med venlig hilsen / Regards 
Netdriftgruppen / Network Management Group
UNI-C          

Tlf./Phone   +45 35 87 89 41        Mail:  UNI-C                                
Fax.         +45 35 87 89 90               Bygning 304
E-mail: torben.fjerdingstad at uni-c.dk       DK-2800 Lyngby




More information about the bind-users mailing list