bind9/bin/tests/system/ixfr
JINMEI Tatuya 7289090683 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.
2024-09-10 14:02:38 +02:00
..
ans2 added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
ns1 change allow-transfer default to "none" 2024-06-05 10:50:06 -07:00
ns3 explicitly set dnssec-validation in system tests 2023-06-26 13:41:56 -07:00
ns4 change allow-transfer default to "none" 2024-06-05 10:50:06 -07:00
ns5 change allow-transfer default to "none" 2024-06-05 10:50:06 -07:00
clean.sh Remove the lock-file configuration and -X argument to named 2023-10-26 22:42:37 +02:00
ixfr-stats-with-expire.good Allow EDNS to be used when making requests in xfrin 2023-08-31 11:32:29 +10:00
ixfr-stats-without-expire.good Allow EDNS to be used when making requests in xfrin 2023-08-31 11:32:29 +10:00
prereq.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
setup.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
tests.sh allow IXFR-to-AXFR fallback on DNS_R_TOOMANYRECORDS 2024-09-10 14:02:38 +02:00
tests_sh_ixfr.py Add pytest functions for shell system tests 2023-05-22 14:11:39 +02:00