From: Hannu Ylitalo Date: Fri, 3 May 2019 09:44:51 +0000 (+0200) Subject: dnsdist: Change addLocal example to IPv6 address in quickstart X-Git-Tag: rec-4.2.0-rc1~31^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2e91dbd4767cafa07acb91e9dcd5d9f08e3d92d;p=thirdparty%2Fpdns.git dnsdist: Change addLocal example to IPv6 address in quickstart --- diff --git a/pdns/dnsdistdist/docs/quickstart.rst b/pdns/dnsdistdist/docs/quickstart.rst index 78b8126735..386ee71f35 100644 --- a/pdns/dnsdistdist/docs/quickstart.rst +++ b/pdns/dnsdistdist/docs/quickstart.rst @@ -106,7 +106,7 @@ To listen on a different address, use the ``-l`` command line option (useful for .. code-block:: lua setLocal('192.0.2.53') -- Listen on 192.0.2.53, port 53 - addLocal('192.0.2.54:5300') -- Also listen on 192.0.2.54, port 5300 + addLocal('[::1]:5300') -- Also listen on ::1, port 5300 Before packets are processed they have to pass the ACL, which helpfully defaults to :rfc:`1918` private IP space. This prevents us from easily becoming an open DNS resolver.