}
});
}
void onResponse(final DnsQuestion question, final DnsResponse response) {
final DnsType type = question.type();
try {
if (type == DnsType.A || type == DnsType.AAAA) {
onResponseAorAAAA(type, question, response);
} else if (type == DnsType.CNAME) {
onResponseCNAME(question, response);