]> granicus.if.org Git - pdns/commitdiff
minor nits in dnsdist webserver() documentation
authorMichael Renner <michael.renner@amd.co.at>
Fri, 4 Mar 2016 10:00:59 +0000 (11:00 +0100)
committerMichael Renner <michael.renner@amd.co.at>
Fri, 4 Mar 2016 10:00:59 +0000 (11:00 +0100)
pdns/README-dnsdist.md

index e2057e8dc427c64e1fc21df0591f07ca0156e228..d48fdaae7f1a557d68922e85c19efcb59813407e 100644 (file)
@@ -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