CNAME's failing to resolve properly

Simon Waters Simon at wretched.demon.co.uk
Fri Apr 7 12:14:21 UTC 2000


Barry Margolin <barmar at bbnplanet.com> wrote in message
news:u84H4.11$Nc4.913 at burlma1-snr2...
> In article <38ECC860.51E26217 at lts.co.uk>,
> Daniel Hawkins  <dan at lts.co.uk> wrote:
> >Just had a problem as follows
> >
> >Domain with a single machine in it which I actually wanted to point at
> >someone else's machine
> >
> >www.mydomain.co.uk        IN        CNAME
> >server.someoneelse.co.uk.
> >
> >On my local machine if i use nslookup to query www.mydomain.co.uk it
> >returns the address or server.someoneelse.co.uk no bother! however if I
> >set server to be the actual authorative named server the query fails?
> >
> >Why?
> >
> >A bit more poking revealed that doing a simple query on
> >www.mydomain.co.uk was sending a res_nmkquery(......A) which was
> >failing? Even though there isn't a direct A record shouldn't my named
> >then go off and resolve the CNAME to get the A record for
> >server.someoneelse.co.uk??
>
> Yes.

Daniel,

do you mean that the NS record you have for the is pointing to a CNAME
record?

If so this is disallowed by the RFC's. RR records should never point to
CNAMES.

Barry knows this but I think you confused him with detail.





More information about the bind-users mailing list