From: Mark Andrews Date: Fri, 5 Jan 2024 00:08:33 +0000 (+1100) Subject: Report the type being filtered from an UPDATE X-Git-Tag: v9.19.22~84^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2cf6cf967deeed3ec412d6347b9c7c4874ec3f57;p=thirdparty%2Fbind9.git Report the type being filtered from an UPDATE When processing UPDATE request DNSKEY, CDNSKEY and CDS record that are managed by named are filtered out. The log message has been updated to report the actual type rather that just DNSKEY. --- diff --git a/lib/ns/update.c b/lib/ns/update.c index 9f9716451b7..dfecd4262f8 100644 --- a/lib/ns/update.c +++ b/lib/ns/update.c @@ -3261,11 +3261,18 @@ update_action(void *arg) { FAIL(r); } if (inuse) { + char typebuf + [DNS_RDATATYPE_FORMATSIZE]; + + dns_rdatatype_format( + rdata.type, typebuf, + sizeof(typebuf)); update_log(client, zone, LOGLEVEL_PROTOCOL, "attempt to " "delete in use " - "DNSKEY ignored"); + "%s ignored", + typebuf); continue; } }