Skip to content
Snippets Groups Projects
Verified Commit ce8e9205 authored by Robert Šefr's avatar Robert Šefr Committed by Vladimír Čunát
Browse files

docs: avoid net wildcard

(vcunat modified the wording slightly)
parent b4f1082c
No related branches found
No related tags found
1 merge request!679docs: avoid net wildcard
Pipeline #40624 failed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment