]> 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:34:49 +0000 (09:34 +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.

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 6cbacf0564ebeacd01e39a6d47a86c4286ad6403..4993040dc6f7665ac080f8e15dfd90ac50369509 100644 (file)
@@ -18,6 +18,9 @@ options {
        listen-on { 10.53.0.1; };
        listen-on-v6 { none; };
        recursion yes;
+       max-udp-size 4096;
+       edns-udp-size 4096;
+       nocookie-udp-size 4096;
 };
 
 key rndc_key {
index 68c9c85275ede389dc22668294f25f5c8fb19b6c..7b0104fb9f7f02e0168b069402c74c5053792024 100644 (file)
@@ -18,6 +18,9 @@ options {
        listen-on { 10.53.0.1; };
        listen-on-v6 { none; };
        recursion yes;
+       max-udp-size 4096;
+       edns-udp-size 4096;
+       nocookie-udp-size 4096;
 };
 
 zone "." {
index 8863172f59f7195c10a915f01276f787798f50b7..948b1284a91f91201db84101f3a5b2ee374746bb 100644 (file)
@@ -18,6 +18,9 @@ options {
        listen-on { 10.53.0.7; };
        listen-on-v6 { none; };
        recursion no;
+       max-udp-size 4096;
+       edns-udp-size 4096;
+       nocookie-udp-size 4096;
 };
 
 zone "edns512-notcp" {