]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Adjust legacy tests for default 1232 EDNS Buffer Size
authorOndřej Surý <ondrej@sury.org>
Mon, 5 Oct 2020 16:17:49 +0000 (18:17 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 6 Oct 2020 07:35:21 +0000 (09:35 +0200)
* legacy test was just expecting default server EDNS buffer size to be 4096,
  the test needed the adjustment to reset the buffer sizes back to 4096.

(cherry picked from commit 354a2e102d5b8b0a73c9bcea14a4af7091ed6e31)

bin/tests/system/legacy/ns1/named1.conf.in
bin/tests/system/legacy/ns1/named2.conf.in
bin/tests/system/legacy/ns7/named.conf.in

index 06881906da30839f88241336c77c4d7e24275e22..ff05caaa5efeaf8c58fc35b8f700ddb06ac4bbcf 100644 (file)
@@ -19,6 +19,9 @@ options {
        listen-on-v6 { none; };
        recursion yes;
        dnssec-validation yes;
+       max-udp-size 4096;
+       edns-udp-size 4096;
+       nocookie-udp-size 4096;
 };
 
 key rndc_key {
index 9a5581786fa576b56f0145e693d9695f1ae3b713..649712b172e2725a9aaf3cca3f6f89b338c4829d 100644 (file)
@@ -19,6 +19,9 @@ options {
        listen-on-v6 { none; };
        recursion yes;
        dnssec-validation yes;
+       max-udp-size 4096;
+       edns-udp-size 4096;
+       nocookie-udp-size 4096;
 };
 
 zone "." {
index 6aa47013f70fb41d96ed0d20ee5cd93becd48a00..64933be632b0eed80ddab757d9443bff4977503e 100644 (file)
@@ -19,6 +19,9 @@ options {
        listen-on-v6 { none; };
        recursion no;
        dnssec-validation no;
+       max-udp-size 4096;
+       edns-udp-size 4096;
+       nocookie-udp-size 4096;
 };
 
 zone "edns512-notcp" {