From: Stefan Schmidt Date: Thu, 7 Jan 2016 17:27:54 +0000 (+0100) Subject: README-dnsdist.md: Unrecognized option --daemon-no X-Git-Tag: dnsdist-1.0.0-alpha2~115^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3186%2Fhead;p=thirdparty%2Fpdns.git README-dnsdist.md: Unrecognized option --daemon-no It seems that there never was a "daemon-no" option: dnsdist: unrecognized option '--daemon-no' dnsdist: option '--daemon' doesn't allow an argument --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index 8138f0fc47..a8694506f4 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -62,7 +62,7 @@ newServer({address="2620:0:ccd::2", name="dns1", qps=10}) newServer("192.168.1.2") setServerPolicy(firstAvailable) -- first server within its QPS limit -$ dnsdist --local=0.0.0.0:5200 --daemon=no +$ dnsdist --local=0.0.0.0:5200 Marking downstream [2001:4860:4860::8888]:53 as 'up' Marking downstream [2001:4860:4860::8844]:53 as 'up' Marking downstream [2620:0:ccc::2]:53 as 'up' @@ -590,10 +590,11 @@ Running it for real First run on the command line, and generate a key: ``` -# dnsdist --daemon-no +# dnsdist > makeKey() setKey("sepuCcHcQnSAZgNbNPCCpDWbujZ5esZJmrt/wh6ldkQ=") ``` + Now add this setKey line to `dnsdistconf.lua`, and also add: ``` @@ -602,7 +603,7 @@ controlSocket("0.0.0.0") -- or add portnumber too Then start `dnsdist` as a daemon, and then connect to it: ``` -# dnsdist +# dnsdist --daemon # dnsdist --client > ```