Commit ce8e9205 authored by Robert Šefr's avatar Robert Šefr Committed by Vladimír Čunát

docs: avoid net wildcard

(vcunat modified the wording slightly)
parent b4f1082c
Pipeline #40624 failed with stages
in 50 minutes and 23 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment