CNAME without recursion

Barry Margolin barmar at alum.mit.edu
Fri Nov 21 13:27:52 UTC 2008


In article <gg66ki$j0m$1 at sf1.isc.org>, Pavel Urban <pupu at pupu.cz> 
wrote:

> Hello,
> 
> I have two local domains on our 9.3.4 BIND. One domain has CNAME record 
> pointing to the record in the second one. The server has recursion disabled.
> 
> What is an expected behavior? I can see this:
> 
> www.dom1.cz ns.xxx.cz
> Using domain server:
> Name: ns.xxx.cz
> Address: 80.188.xx.xxx#53
> Aliases:
> 
> Host www.dom1.cz not found: 5(REFUSED)
> 
> Do I have to have recursion enabled to resolve such CNAMEs?

You got an error because you sent a recursive query with nslookup.

Caching nameservers send their queries without requesting recursion, so 
your server will reply with the CNAME record, and then the client 
nameserver will resolve the CNAME by itself.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***



More information about the bind-users mailing list