On 9/17/14 2:48 PM, Jay Ashworth wrote:
----- Original Message -----
From: "Andrew Sullivan" <asullivan@dyn.com>
On Wed, Sep 17, 2014 at 04:57:52PM -0400, Jay Ashworth wrote:
----- Original Message ----- No, I was confusing you for someone who understood -- as everyone else here seems to have -- that I meant "querying for an A, AAAA, or MX record".
You want to return NXDOMAIN for a name only when the QTYPE is A, AAAA, or MX, and not everything else? Presumably you don't want to do negative caching?
I want to return NXDOMAIN *because there is no record of that type at that node*.
That was the underlying point here; I thought that was pretty clear.
But that's not what NXDOMAIN means. :) You get an NXDOMAIN response when there is no label at that point in the tree, period. In the case you specify you get the combination of NOANSWER + NOERROR if there is no address record, but there are other records (like there are at a zone apex). hth, Doug