I can't see any motivation for the copying behavior,
and it made caching non-deterministic.
------------
- depend on jemalloc, preferably, to improve memory usage (!1353)
- policy.STUB: avoid applying aggressive DNSSEC denial proofs (!1364)
+- policy.STUB: avoid copying +dnssec flag from client to upstream (!1364)
Bugfixes
--------
ret = edns_create(pkt, request);
if (ret) return ret;
if (qry->flags.STUB) {
- /* Stub resolution (ask for +rd and +do) */
+ /* Stub resolution */
knot_wire_set_rd(pkt->wire);
- if (knot_pkt_has_dnssec(request->qsource.packet)) {
- knot_edns_set_do(pkt->opt_rr);
- }
if (knot_wire_get_cd(request->qsource.packet->wire)) {
knot_wire_set_cd(pkt->wire);
}