]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
docs: avoid net wildcard
authorRobert Šefr <robert.sefr@outlook.com>
Wed, 19 Sep 2018 08:21:19 +0000 (10:21 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 20 Sep 2018 12:38:36 +0000 (14:38 +0200)
(vcunat modified the wording slightly)

daemon/README.rst

index c42ae12a3545e9b782eec23bc031810c90b37ea3..4efd0212d99c861287555a6024b1170fbfde0cde 100644 (file)
@@ -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)