From: Michael Renner Date: Fri, 4 Mar 2016 10:00:59 +0000 (+0100) Subject: minor nits in dnsdist webserver() documentation X-Git-Tag: rec-4.0.0-alpha2~17^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3505%2Fhead;p=thirdparty%2Fpdns.git minor nits in dnsdist webserver() documentation --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index e2057e8dc4..d48fdaae7f 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -228,7 +228,7 @@ Webserver --------- To visually interact with `dnsdist`, try adding: ``` -webserver("127.0.0.1:8083", "supersecret") +webserver("127.0.0.1:8083", "supersecretpassword", "supersecretAPIkey") ``` to the configuration, and point your browser at http://127.0.0.1:8083 and @@ -922,7 +922,7 @@ Here are all functions: * Practical * `shutdown()`: shut down `dnsdist` * quit or ^D: exit the console - * `webserver(address, password [, apiKey])`: launch a webserver with stats on that address with that password + * `webserver(address:port, password [, apiKey])`: launch a webserver with stats on that address with that password * ACL related: * `addACL(netmask)`: add to the ACL set who can use this server * `setACL({netmask, netmask})`: replace the ACL set with these netmasks. Use `setACL({})` to reset the list, meaning no one can use us