summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2020-01-16 14:45:04 +0100
committerTomas Krizek <tomas.krizek@nic.cz>2020-01-21 17:20:38 +0100
commit1c56e1abb18a4af2b771c2b084cf5f15c589ce92 (patch)
treeed76a35ca5adf729ac5d7f37a0e15112b66994f7 /etc
parentdistro/rpm: make daemon-reload more robust (diff)
downloadknot-resolver-1c56e1abb18a4af2b771c2b084cf5f15c589ce92.tar.xz
knot-resolver-1c56e1abb18a4af2b771c2b084cf5f15c589ce92.zip
etc/config: add freebind=true to IPv6 in default config
In some environments, e.g. VMs, even the IPv6 loopback may not be available. Using freebind allows the service to start up with default configuration without requiring the user to change interfaces.
Diffstat (limited to 'etc')
-rw-r--r--etc/config/config.personal4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/config/config.personal b/etc/config/config.personal
index ba4ddc10..791caec4 100644
--- a/etc/config/config.personal
+++ b/etc/config/config.personal
@@ -3,9 +3,9 @@
-- Network interface configuration
net.listen('127.0.0.1', 53, { kind = 'dns' })
-net.listen('::1', 53, { kind = 'dns'})
net.listen('127.0.0.1', 853, { kind = 'tls' })
-net.listen('::1', 853, { kind = 'tls' })
+net.listen('::1', 53, { kind = 'dns', freebind = true })
+net.listen('::1', 853, { kind = 'tls', freebind = true })
-- Load useful modules
modules = {