2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

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.
This commit is contained in:
Mark Andrews
2024-01-05 11:08:33 +11:00
parent b75ba71f33
commit 2cf6cf967d

View File

@@ -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;
}
}