diff --git a/src/auth.c b/src/auth.c index a59a1b5..5ac6f21 100644 --- a/src/auth.c +++ b/src/auth.c @@ -117,7 +117,10 @@ size_t answer_auth(struct dns_header *header, char *limit, size_t qlen, time_t n GETSHORT(qclass, p); if (qclass != C_IN) - continue; + { + auth = 0; + continue; + } if (qtype == T_PTR) {