]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests: turn off IPv6 where neccesary
authorŠtěpán Balážik <stepan.balazik@nic.cz>
Mon, 26 Oct 2020 10:41:43 +0000 (11:41 +0100)
committerŠtěpán Balážik <stepan.balazik@nic.cz>
Mon, 26 Oct 2020 10:45:12 +0000 (11:45 +0100)
modules/rebinding/test.integr/kresd_config.j2
modules/serve_stale/test.integr/kresd_config.j2
modules/serve_stale/test.integr/module_serve_stale.rpl

index 31a24f5b5dc9c37fe0355e9af81ecafaa9877451..2f268935f87b997ef078cd424b2e623430ffad5d 100644 (file)
@@ -28,6 +28,7 @@ modules.load('rebinding < iterate')
 _hint_root_file('hints')
 cache.size = 2*MB
 verbose(true)
+net.ipv6 = false
 {% endraw %}
 
 net = { '{{SELF_ADDR}}' }
index b6c36739edb3ed9503a63d9c07b3d998307b2439..5e3f55d7219ce87e5ba79342bf6ab5107808aea3 100644 (file)
@@ -30,6 +30,18 @@ cache.size = 2*MB
 verbose(true)
 {% endraw %}
 
+{% if DO_IP6 == "true" %}
+net.ipv6 = true
+{% else %}
+net.ipv6 = false
+{% endif %}
+
+{% if DO_IP4 == "true" %}
+net.ipv4 = true
+{% else %}
+net.ipv4 = false
+{% endif %}
+
 net = { '{{SELF_ADDR}}' }
 
 
index c687bea4bec12e672cc890e7fca3d4d4042ce43a..3ab3a8475ca31f575be80be7a357643aaa323f57 100644 (file)
@@ -1,3 +1,4 @@
+do-ip6: no
 ; SPDX-License-Identifier: GPL-3.0-or-later
 ; config options
        stub-addr: 193.0.14.129         # K.ROOT-SERVERS.NET.