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.
(cherry picked from commit 2cf6cf967d)
This commit is contained in:
+8
-1
@@ -3403,11 +3403,18 @@ update_action(isc_task_t *task, isc_event_t *event) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user