mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 20:11:12 -05:00
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 commitbb990030(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 commit81deb24deb)
This commit is contained in:
parent
bca7f19541
commit
fa8b33ce56
3 changed files with 12 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ options {
|
|||
fetches-per-server 400;
|
||||
};
|
||||
|
||||
server 10.53.0.4 {
|
||||
edns no;
|
||||
};
|
||||
|
||||
key rndc_key {
|
||||
secret "1234abcd8765";
|
||||
algorithm hmac-sha256;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@ options {
|
|||
fetches-per-zone 40;
|
||||
};
|
||||
|
||||
server 10.53.0.4 {
|
||||
edns no;
|
||||
};
|
||||
|
||||
key rndc_key {
|
||||
secret "1234abcd8765";
|
||||
algorithm hmac-sha256;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@ options {
|
|||
recursive-clients 400;
|
||||
};
|
||||
|
||||
server 10.53.0.4 {
|
||||
edns no;
|
||||
};
|
||||
|
||||
key rndc_key {
|
||||
secret "1234abcd8765";
|
||||
algorithm hmac-sha256;
|
||||
|
|
|
|||
Loading…
Reference in a new issue