From 5ef0af18a2491561eac5c12f3e89175659e8f5fe Mon Sep 17 00:00:00 2001 From: Michael Renner Date: Fri, 4 Mar 2016 11:00:59 +0100 Subject: [PATCH] minor nits in dnsdist webserver() documentation --- pdns/README-dnsdist.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.2