bind9/bin
JINMEI Tatuya a93b6f2040 allow IXFR-to-AXFR fallback on DNS_R_TOOMANYRECORDS
This change allows fallback from an IXFR failure to AXFR when the
reason is DNS_R_TOOMANYRECORDS. This is because this error condition
could be temporary only in an intermediate version of IXFR
transactions and it's possible that the latest version of the zone
doesn't have that condition. In such a case, the secondary would never
be able to update the zone (even if it could) without this fallback.

This fallback behavior is particularly useful with the recently
introduced max-records-per-type and max-types-per-name options:
the primary may not have these limitations and may temporarily
introduce "too many" records, breaking IXFR. If the primary side
subsequently deletes these records, this fallback will help recover
the zone transfer failure automatically; without it, the secondary
side would first need to increase the limit, which requires more
operational overhead and has its own adverse effect.

This change also fixes a minor glitch that DNS_R_TOOMANYRECORDS wasn't
logged in xfrin_fail.

(cherry picked from commit 7289090683)
2024-09-10 14:54:57 +02:00
..
check Use EXIT_SUCCESS and EXIT_FAILURE 2024-08-06 15:19:06 +02:00
confgen Use EXIT_SUCCESS and EXIT_FAILURE 2024-08-06 15:19:06 +02:00
delv make "max_restarts" a configurable value 2024-08-07 15:36:15 -07:00
dig check for NULL before closing batchfp 2024-08-21 21:37:51 -07:00
dnssec Use EXIT_SUCCESS and EXIT_FAILURE 2024-08-06 15:19:06 +02:00
named Use clang-format-19 to update formatting 2024-08-22 10:25:22 +02:00
nsupdate Use EXIT_SUCCESS and EXIT_FAILURE 2024-08-06 15:19:06 +02:00
plugins Remove 'inst != NULL' from cleanup check in plugin_register 2023-04-05 10:27:52 +10:00
rndc Use EXIT_SUCCESS and EXIT_FAILURE 2024-08-06 15:19:06 +02:00
tests allow IXFR-to-AXFR fallback on DNS_R_TOOMANYRECORDS 2024-09-10 14:54:57 +02:00
tools Change the NS_PER_SEC (and friends) from enum to static const 2024-08-19 15:32:03 +00:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00