From 1b58c7ec24fdf76d28c6a6d0a056618f8dcb2566 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 12 Aug 2024 10:57:11 +0200 Subject: [PATCH] NEWS+comment for the parent commit --- NEWS | 3 +++ lib/layer/iterate.c | 1 + 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index e8ba52303..92ebe3062 100644 --- a/NEWS +++ b/NEWS @@ -10,11 +10,14 @@ Improvements The secret is created automatically if the user does not configure their own secret in the configuration. This means that the workers will be able to resume each other's TLS sessions, regardless of whether the user has configured it to do so. +- answer NOTIMPL for meta-types and non-IN RR classes (!1589) + Bugfixes -------- - daemon/proxyv2: fix informing the engine about TCP/TLS from the actual client (!1578) + Knot Resolver 6.0.8 (2024-07-23) ================================ diff --git a/lib/layer/iterate.c b/lib/layer/iterate.c index c6f9ec976..3cc641cd8 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; -- 2.47.2