]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: doc: `{add,set}Local()` TCP parameter defaults to true
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 22 Jun 2016 13:17:14 +0000 (15:17 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 22 Jun 2016 13:17:14 +0000 (15:17 +0200)
pdns/README-dnsdist.md

index 71db623d432d489dccc24dcb2cccb405f88e74dd..3e3ccfd0e4aaf989bd1416d5f196eff6c5c468d1 100644 (file)
@@ -1061,8 +1061,8 @@ Here are all functions:
     * `setACL({netmask, netmask})`: replace the ACL set with these netmasks. Use `setACL({})` to reset the list, meaning no one can use us
     * `showACL()`: show our ACL set
  * Network related:
-    * `addLocal(netmask, [false], [false])`: add to addresses we listen on. Second optional parameter sets TCP/IP or not. Third optional parameter sets SO_REUSEPORT when available.
-    * `setLocal(netmask, [false], [false])`: reset list of addresses we listen on to this address. Second optional parameter sets TCP/IP or not. Third optional parameter sets SO_REUSEPORT when available.
+    * `addLocal(netmask, [true], [false])`: add to addresses we listen on. Second optional parameter sets TCP/IP or not. Third optional parameter sets SO_REUSEPORT when available.
+    * `setLocal(netmask, [true], [false])`: reset list of addresses we listen on to this address. Second optional parameter sets TCP/IP or not. Third optional parameter sets SO_REUSEPORT when available.
  * Blocking related:
     * `addDomainBlock(domain)`: block queries within this domain
  * Carbon/Graphite/Metronome statistics related: