typicode/katon — pull request #53 by assaf (2014-12-02 21:50:43+00:00)
Title: FIXED client doesn't like mixing record types

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.