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)
fetches-per-server 400;
};
+server 10.53.0.4 {
+ edns no;
+};
+
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
fetches-per-zone 40;
};
+server 10.53.0.4 {
+ edns no;
+};
+
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
recursive-clients 400;
};
+server 10.53.0.4 {
+ edns no;
+};
+
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;