diff --git a/bin/named/query.c b/bin/named/query.c index 21ba02d773..7179b90782 100644 --- a/bin/named/query.c +++ b/bin/named/query.c @@ -1465,7 +1465,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event) { client->query.attributes &= ~NS_QUERYATTR_RECURSING; - qtype = event->type; + qtype = event->qtype; if (qtype == dns_rdatatype_sig) type = dns_rdatatype_any; else