summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-11-08 16:01:54 +0100
committerChristian Poessinger <christian@poessinger.com>2018-11-08 16:01:54 +0100
commit1682d7167461ab9ef72471b31b199094b335276d (patch)
tree5590ff3e558187c3eeb7689e5d8ea90c332fb6e0 /src/conf_mode
parent3d3432b84dc7f8a588a94a981da089093507b9f3 (diff)
downloadvyos-1x-1682d7167461ab9ef72471b31b199094b335276d.tar.gz
vyos-1x-1682d7167461ab9ef72471b31b199094b335276d.zip
T974: bugfix dns forwarder not listening on IPv6 addresses
By default PowerDNS only allows 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 for incoming DNS queries - we changed this to 0.0.0.0/0 to be reachable by everyone. This only covered the IPv4 address space and any IPv6 related query was not handled by the server.
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/dns_forwarding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py
index 43be9d526..17788f12a 100755
--- a/src/conf_mode/dns_forwarding.py
+++ b/src/conf_mode/dns_forwarding.py
@@ -36,7 +36,7 @@ config_tmpl = """
# Non-configurable defaults
daemon=yes
threads=1
-allow-from=0.0.0.0/0
+allow-from=0.0.0.0/0, ::/0
log-common-errors=yes
non-local-bind=yes