From: Robert Ĺ efr Date: Wed, 19 Sep 2018 08:21:19 +0000 (+0200) Subject: docs: avoid net wildcard X-Git-Tag: v3.1.0~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce8e92055ef5e649da360a9c2a00db119151e6ee;p=thirdparty%2Fknot-resolver.git docs: avoid net wildcard (vcunat modified the wording slightly) --- diff --git a/daemon/README.rst b/daemon/README.rst index c42ae12a3..4efd0212d 100644 --- a/daemon/README.rst +++ b/daemon/README.rst @@ -389,6 +389,13 @@ For when listening on ``localhost`` just doesn't cut it. net = { '127.0.0.1', net.eth0, net.eth1.addr[1] } net.ipv4 = false +.. warning:: On machines with multiple IP addresses avoid binding to wildcard ``0.0.0.0`` or ``::`` (see example below). Knot Resolver could answer from different IP in case the ranges overlap and client will probably refuse such a response. + + .. code-block:: lua + + net = { '0.0.0.0' } + + .. envvar:: net.ipv6 = true|false :return: boolean (default: true)