bind9/bin/tests/system/ixfr
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
..
ans2 added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
ns1 explicitly set dnssec-validation in system tests 2023-06-26 15:03:06 -07:00
ns3 explicitly set dnssec-validation in system tests 2023-06-26 15:03:06 -07:00
ns4 explicitly set dnssec-validation in system tests 2023-06-26 15:03:06 -07:00
ns5 explicitly set dnssec-validation in system tests 2023-06-26 15:03:06 -07:00
clean.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ixfr-stats.good add a system test for AXFR fallback when max-ixfr-ratio is exceeded 2020-03-05 17:20:16 -08:00
prereq.sh Reformat shell scripts with shfmt 2023-10-26 13:05:00 +02:00
setup.sh Reformat shell scripts with shfmt 2023-10-26 13:05:00 +02:00
tests.sh allow IXFR-to-AXFR fallback on DNS_R_TOOMANYRECORDS 2024-09-10 14:54:57 +02:00
tests_sh_ixfr.py Add pytest functions for shell system tests 2023-05-23 16:55:26 +02:00