should named return nxdomain when CNAME can't be resolved?
Bob Halley
Bob.Halley at nominum.com
Mon Oct 15 18:16:48 UTC 2007
On Oct 15, 2007, at 10:56 AM, Adam Tkac wrote:
>
> Yes, you're right. If recursion is disabled CNAME should be
> returned. But I'm talking about situation when server is asked for
> AAAA record and recursion is allowed. In this case server should
> return AAAA record or NXDOMAIN but not CNAME.
>
The existing behavior is correct.
You certainly cannot return NXDOMAIN, because that would mean that
the target of the CNAME did not exist. It does exist, but it has no
records of the type you asked for (AAAA), and so this is a "no error,
no data" response, the same as you would get if you queried the name
directly instead of via a CNAME.
More information about the bind-workers
mailing list