Resolving aliases

Kevin Darcy kcd at daimlerchrysler.com
Tue Feb 15 19:43:25 UTC 2000


EDV BWS wrote:

> > >I thought when resolving aliases, the name on the right hand side is
> > >resolved.
> > >
> > >Why does the parent find it's child when using the FQDN, but not when
> > >using aliases? Is the query resolved vie root servers?
> >
> > It seems to me that it *should* work.  If you gave real examples instead of
> > made up names maybe we could tell you what you did wrong.  Your example
> > probably don't have the same error that the real file has.
>
> Okay, the reason why I used fake names is that we are constructing an
> internal DNS only (don't ask me why, I'm not responsible), so we are not
> using official domain names, and are not contacting the Internet DNS ->
> we have to come up with internal roots.
>
> But anyway, I'll use real names now.
>
> We have zone cont.trp.bom. This zone is parent of wie.cont.trp.bom. Some
> lines from /var/named/cont.zone:
>
> wie                         IN NS    zerberus.wie.cont.trp.bom.
>                             IN NS    calvin.wie.cont.trp.bom.
> zerberus.wie.cont.trp.bom.  IN A     160.223.186.22
> calvin.wie.cont.trp.bom.    IN A     160.223.186.20
> btg_app17                   IN CNAME btg_app17.wie.cont.trp.bom.
>
> So, if I try the following from the cont-Nameserver:
>
> ping lucifer.wie.cont.trp.bom
>
> ....it's working, so obviously the delegation is working. If I do the
> following, though:
>
> ping btg_app17
>
> ....it's not working. Why? If the nameserver replaces the left hand side
> of a CNAME record with the right hand side, then pinging "btg_app17"
> should be the same as pinging "btg_app17.wie.cont.trp.bom", right?

Are you sure that "cont.trp.bom" is in the resolver search order? Does it work
if you ping btg_app17.cont.trp.bom? Since you have underscores in your names,
have you made the necessary check-names option modifications so that named will
accept the zonefile?


- Kevin





More information about the bind-users mailing list