mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 15:20:00 -04: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.
(cherry picked from commit 2cf6cf967d)
This commit is contained in:
parent
26fdc0fb80
commit
9999eebbf7
1 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue