testing: Allow DNS via TCP in net2net-dnscert scenario
New versions of Bind limit the maximum UDP message size to 1232 bytes, which is the same that newer versions of libunbound propose as maximum via EDNS in requests, so increasing the limit on the server wouldn't help. Instead we allow DNS via TCP so the client can switch after receiving the truncated UDP response.
This commit is contained in:
1 parent
5b9c46b988
commit
ccac9c3047
2 files changed
+8
No files matched your search
@@ -25,4 +25,8 @@
|
||||
-A INPUT -i eth0 -p udp --sport 53 -s PH_IP_WINNETOU -j ACCEPT
|
||||
-A OUTPUT -o eth0 -p udp --dport 53 -d PH_IP_WINNETOU -j ACCEPT
|
||||
|
||||
# allow DNSSEC fetch from winnetou via TCP
|
||||
-A INPUT -i eth0 -p tcp --sport 53 -s PH_IP_WINNETOU -j ACCEPT
|
||||
-A OUTPUT -o eth0 -p tcp --dport 53 -d PH_IP_WINNETOU -j ACCEPT
|
||||
|
||||
COMMIT
|
||||
@@ -25,4 +25,8 @@
|
||||
-A INPUT -i eth0 -p udp --sport 53 -s PH_IP_WINNETOU -j ACCEPT
|
||||
-A OUTPUT -o eth0 -p udp --dport 53 -d PH_IP_WINNETOU -j ACCEPT
|
||||
|
||||
# allow DNSSEC fetch from winnetou via TCP
|
||||
-A INPUT -i eth0 -p tcp --sport 53 -s PH_IP_WINNETOU -j ACCEPT
|
||||
-A OUTPUT -o eth0 -p tcp --dport 53 -d PH_IP_WINNETOU -j ACCEPT
|
||||
|
||||
COMMIT
|
||||
Reference in new issue
Block a user