summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/layer/iterate.c1
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;