]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Added web server configuration parameters 2287/head
authorHenk Kraal <h.kraal@tiw.nl>
Fri, 27 Feb 2015 13:41:16 +0000 (14:41 +0100)
committerHenk Kraal <h.kraal@tiw.nl>
Fri, 27 Feb 2015 13:55:28 +0000 (14:55 +0100)
docs/markdown/httpapi/README.md

index a7cdb7a8e84d4ded371843f0ccc0b3fbbc48417c..e8e1b314567f244b0da407b38288bbf0d4f48ae9 100644 (file)
@@ -44,6 +44,14 @@ After restarting `pdns_server`, the following examples should start working:
 `jq` is a highly recommended tool for pretty-printing JSON. If you don't have
 `jq`, try `json_pp` or `python -mjson.tool` instead.
 
+When running multiple instances you might want to specify on which address the web server should run:
+
+    # IP Address of web server to listen on
+    webserver-address=127.0.0.1
+    # Port of web server to listen on
+    webserver-port=8081
+    # Web server access is only allowed from these subnets
+    webserver-allow-from=0.0.0.0/0,::/0"
 
 Try it (Recursor edition)
 -------------------------