]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: usr: emit more helpful log for exceeding max-records-per-type
authorMark Andrews <marka@isc.org>
Tue, 26 Nov 2024 07:15:25 +0000 (07:15 +0000)
committerMark Andrews <marka@isc.org>
Tue, 26 Nov 2024 07:15:25 +0000 (07:15 +0000)
commitb2ffa5845b278032521a5cde553578721caef990
tree3cb67bb79c32f4c0239144fde81138d46e7f0484
parent8e0ec3fe0ad15ca52fa7ff6ddaeb6e94535655ce
parent000720fe14266595ce37ad9ca692b28310f5a6f7
chg: usr: emit more helpful log for exceeding max-records-per-type

The new log message is emitted when adding or updating an RRset
fails due to exceeding the max-records-per-type limit. The log includes
the owner name and type, corresponding zone name, and the limit value.
It will be emitted on loading a zone file, inbound zone transfer
(both AXFR and IXFR), handling a DDNS update, or updating a cache DB.
It's especially helpful in the case of zone transfer, since the
secondary side doesn't have direct access to the offending zone data.

It could also be used for max-types-per-name, but this change
doesn't implement it yet as it's much less likely to happen
in practice.

Merge branch 'helpful-log-on-toomanyrecords' into 'main'

See merge request isc-projects/bind9!9509