]> git.ipfire.org Git - thirdparty/bind9.git/commit
Disable EDNS for the fetchlimit test server
authorEvan Hunt <each@isc.org>
Thu, 5 May 2022 21:52:15 +0000 (14:52 -0700)
committerEvan Hunt <each@isc.org>
Sat, 14 May 2022 07:43:17 +0000 (00:43 -0700)
commitfa8b33ce5618362c435d6953c1923ef60afa7424
tree66843ce6389ce14aba6365959f5c10b7a3cca269
parentbca7f195413c0e933d8aa441b621fbbf3535fbc4
Disable EDNS for the fetchlimit test server

The fetchlimit test depends on a resolver continuing to try UDP
and timing out while the client waits for resolution to succeed.
but since commit bb990030 (flag day 2020), a fetch will always
switch to TCP after two timeouts, unless EDNS was disabled for
the query.

This commit adds "edns no;" to server statements in the fetchlimit
resolver, to restore the behavior expected by the test.

(cherry picked from commit 81deb24deb26095cbf3eaec8e7763973ec4177c3)
bin/tests/system/fetchlimit/ns3/named1.conf.in
bin/tests/system/fetchlimit/ns3/named2.conf.in
bin/tests/system/fetchlimit/ns3/named3.conf.in