Looks like, when A query returns an AAAA answer (in addition to A), the DNS client may end up ignoring the response, perhaps because of the unexpected response type.
So this changes the behavior to return A record to A query, AAAA record to AAAA query. Seems to work well with curl and Chrome.
Looks like, when A query returns an AAAA answer (in addition to A), the DNS client may end up ignoring the response, perhaps because of the unexpected response type.
So this changes the behavior to return A record to A query, AAAA record to AAAA query. Seems to work well with curl and Chrome.