Unexplained broken name service

Michael Bryan bind at ursine.com
Wed Jul 5 16:49:32 UTC 2000




Phil White wrote:
> 
> Lord knows what, but I have done someting to severely break my
> nameserver. I am now so perplexed, I'll post details here in case
> anyone can offer some pointers as to why (apart from me being a
> plonker! ;-)
> 
> ITMagic host a few virtual domain web-sites. All has been working fine
> for many months - until I had a tinker at the week-end. I'll split the
> changes into sections.
> 
> 1) changed the machine name of my Linux box from gemini to radagast.
> 2) add in CNAME records for our name servers (dns0 & dns1)
>    and kept gemini as an alias.
> 3) ammend the registered DNS info for the domain jazzjive.co.uk
>    to point to dns0 & dns1, rather than gemini & merlin


You cannot have NS records pointing to CNAME aliases.  The hostname in
the data portion of an NS record -must- have an A record associated with
it.

So rather than this:

$ORIGIN itmagic.ltd.uk.
dns0		CNAME	radagast.itmagic.ltd.uk.
dns1		CNAME	merlin.itmagic.ltd.uk.
radagast	A	194.203.96.253
merlin		A	194.203.96.252

Try this instead:

$ORIGIN itmagic.ltd.uk.
dns0		A	194.203.96.253
dns1		A	194.203.96.252
radagast	A	194.203.96.253
merlin		A	194.203.96.252







> 
> That was on Sunday. Now (wednesday), although I can ping all the
> machines within itmagic.ltd.uk, including all aliases, I am unable to
> connect to any of our virtual machines eg. www.jazzjive.co.uk.
> Now, as this used to work, I know it isn't the web-server at fault.
> Also, when I do an nslookup using one of our machines as a server, all
> is OK. However, using an external nameserver results in
> *** ns0.bt.net can't find jazzjive.co.uk.: Server failed.
> 
> The only other symptom I can find is this entry in /var/log/messages
> Jul  5 15:09:23 radagast named[1338]: sysquery: findns error
> (NXDOMAIN) on gemini.itmagic.ltd.uk?
> 
> Any ideas?
> 
> --
> System details.
> 
> dns0.itmagic.ltd.uk CNAME radagast.itmagic.ltd.uk
>         Slackware / Bind v8 (primary DNS)
> dns1.itmagic.ltd.uk CNAME merlin.itmagic.ltg.uk
>         Windows NT / Secondary DNS / Web server
> www.jazzjive.co.uk  CNAME merlin.itmagic.ltd.uk
>         Our virtual service.



More information about the bind-users mailing list