From f2e91dbd4767cafa07acb91e9dcd5d9f08e3d92d Mon Sep 17 00:00:00 2001 From: Hannu Ylitalo Date: Fri, 3 May 2019 11:44:51 +0200 Subject: [PATCH] dnsdist: Change addLocal example to IPv6 address in quickstart --- pdns/dnsdistdist/docs/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.2