]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/hints: data from hints is never authoritative
authorMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 1 Oct 2015 16:08:44 +0000 (18:08 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 1 Oct 2015 16:08:44 +0000 (18:08 +0200)
modules/hints/hints.c

index 28ae1ca43468bc9e737c12b9d4e425c991ad97c9..ed91c0b63c1f5a463443ddbb5c1eef6cdbb0aa96 100644 (file)
@@ -108,6 +108,7 @@ static int query(knot_layer_t *ctx, knot_pkt_t *pkt)
                return ctx->state;
        }
        DEBUG_MSG(qry, "<= answered from hints\n");
+       qry->flags &= ~QUERY_DNSSEC_WANT; /* Never authenticated */
        qry->flags |= QUERY_CACHED|QUERY_NO_MINIMIZE;
        pkt->parsed = pkt->size;
        knot_wire_set_qr(pkt->wire);