diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2024-08-12 10:57:11 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2024-08-12 11:09:57 +0200 |
commit | 1b58c7ec24fdf76d28c6a6d0a056618f8dcb2566 (patch) | |
tree | 68a336afe105c1b24987a4f4d48e11dfccb48fad /lib | |
parent | iterator: fix handling of ANY queries and != IN classes. (diff) | |
download | knot-resolver-1b58c7ec24fdf76d28c6a6d0a056618f8dcb2566.tar.xz knot-resolver-1b58c7ec24fdf76d28c6a6d0a056618f8dcb2566.zip |
NEWS+comment for the parent commit
Diffstat (limited to 'lib')
-rw-r--r-- | lib/layer/iterate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/layer/iterate.c b/lib/layer/iterate.c index c6f9ec97..3cc641cd 100644 --- a/lib/layer/iterate.c +++ b/lib/layer/iterate.c @@ -927,6 +927,7 @@ static int begin(kr_layer_t *ctx) knot_pkt_t *ans = kr_request_ensure_answer(ctx->req); if (!ans) return ctx->req->state; + /* This RCODE is explicitly suggested for meta QTYPEs in RFC 8906 sec.7 */ knot_wire_set_rcode(ans->wire, KNOT_RCODE_NOTIMPL); kr_request_set_extended_error(ctx->req, KNOT_EDNS_EDE_NOTSUP, "57CK"); return KR_STATE_DONE; |