]> granicus.if.org Git - pdns/commitdiff
dnsdist: Change addLocal example to IPv6 address in quickstart
authorHannu Ylitalo <hannu.ylitalo@dovecot.fi>
Fri, 3 May 2019 09:44:51 +0000 (11:44 +0200)
committerHannu Ylitalo <hannu.ylitalo@dovecot.fi>
Fri, 3 May 2019 09:44:51 +0000 (11:44 +0200)
pdns/dnsdistdist/docs/quickstart.rst

index 78b8126735a2a71a3c929fb594d7ad51efd2e3bb..386ee71f3588bfa0d0b983ecc599b7767aa97d2e 100644 (file)
@@ -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.