> Hi Andrew,
>
> On Mon, Oct 19, 2015 at 05:39:58PM -0500, Andrew Hayworth wrote:
>> The ANY query type is weird, and some resolvers don't 'do the legwork'
>> of resolving useful things like CNAMEs. Given that upstream resolver
>> behavior is not always under the control of the HAProxy administrator,
>> we should not use the ANY query type. Rather, we should use A or AAAA
>> according to either the explicit preferences of the operator, or the
>> implicit default (AAAA/IPv6).
>
> But how does that fix the problem for you ? In your example below,
> the server clearly doesn't provide any A nor AAAA in the response
> so asking it for A or AAAA should not work either if it doesn't
> recurse, am I wrong ?

I don't think this is CNAME specific. ANY will just return what the
recursor has in the cache. If it isn't in the cache, ANY won't make
the recursor ask upstream DNS servers, only A and AAAA (or MX or
any other real qtype) will.

Just switching to ANY is not enough, we still need to fallback
from AAAA to A and vice versa on NX responses for single homed
nodes.



Lukas

                                          

Reply via email to