]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.18] chg: usr: emit more helpful log for exceeding max-records-per-type
authorMark Andrews <marka@isc.org>
Wed, 27 Nov 2024 03:22:49 +0000 (03:22 +0000)
committerMark Andrews <marka@isc.org>
Wed, 27 Nov 2024 03:22:49 +0000 (03:22 +0000)
commit99328b7369f3582e09d4de940b2a8c173ec40cfd
tree35ed83af3267c250684fbae8f922b6081c3bae1e
parentda90ea77ef31e5fe50fcf13e636dd94d1c2c4ea2
parent318fcc4c35de876f138c8bf29dd23268fd8a8213
[9.18] 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.

Backport of MR !9509

Merge branch 'backport-helpful-log-on-toomanyrecords-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!9772