<div dir="ltr">Hi Stefan,<br><br>Thanks for your reply.<br><br>My wanted just an example to show that after the <span style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;line-height:inherit;color:rgb(51,51,51);background-color:transparent">controlSocket command the prompt remains in dnsdist "mode".<br><br>From README should be </span><div><span style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;line-height:inherit;color:rgb(51,51,51);background-color:transparent"><br></span></div><div><pre style="overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;font-stretch:normal;line-height:1.45;padding:16px;border-radius:3px;word-wrap:normal;color:rgb(51,51,51);background-color:rgb(247,247,247)"><code style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;padding:0px;margin:0px;border-radius:3px;border:0px;display:inline;max-width:initial;overflow:initial;line-height:inherit;word-wrap:normal;background:transparent"># dnsdist
> makeKey()
setKey("sepuCcHcQnSAZgNbNPCCpDWbujZ5esZJmrt/wh6ldkQ=")
<pre style="overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;font-stretch:normal;line-height:1.45;padding:16px;border-radius:3px;word-wrap:normal"><code style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;padding:0px;margin:0px;border-radius:3px;border:0px;display:inline;max-width:initial;overflow:initial;line-height:inherit;word-wrap:normal;background:transparent">controlSocket("0.0.0.0")
<pre style="overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;font-stretch:normal;line-height:1.45;padding:16px;border-radius:3px;word-wrap:normal"><code style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:13.6px;padding:0px;margin:0px;border-radius:3px;border:0px;display:inline;max-width:initial;overflow:initial;line-height:inherit;word-wrap:normal;background:transparent"># dnsdist --daemon
# dnsdist --client
> </code></pre>When instead I have
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;line-height:normal;white-space:normal;background-color:rgb(255,255,255)"><div>root@raspberrypi:~# dnsdist</div><div>Read configuration from '/etc/dnsdist/dnsdist.conf'</div><div>Added downstream server <a href="http://172.16.0.3:53/" target="_blank">172.16.0.3:53</a></div><div>Added downstream server <a href="http://127.0.0.1:5300/" target="_blank">127.0.0.1:5300</a></div><div>Added downstream server <a href="http://127.0.0.1:5300/" target="_blank">127.0.0.1:5300</a></div><div>Listening on <a href="http://127.0.0.1:53/" target="_blank">127.0.0.1:53</a></div><div>dnsdist 0.0.597g558bf6a comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2</div><div>Webserver launched on <a href="http://172.16.0.2:8083/" target="_blank">172.16.0.2:8083</a></div><div>Marking downstream banana (<a href="http://172.16.0.3:53/" target="_blank">172.16.0.3:53</a>) as 'up'</div><div>Marking downstream raspi (<a href="http://127.0.0.1:5300/" target="_blank">127.0.0.1:5300</a>) as 'up'</div><div>Marking downstream raspi (<a href="http://127.0.0.1:5300/" target="_blank">127.0.0.1:5300</a>) as 'up'</div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;line-height:normal;white-space:normal;background-color:rgb(255,255,255)"><div><div>> makeKey()</div><div>setKey("79UkJSMepbycRc8lKg+1Nk6RkvECK42qCoS/qVY0mHA=")</div><div>> controlSocket("0.0.0.0")</div><div>> Accepting control connections on <a href="http://0.0.0.0:5199/" target="_blank">0.0.0.0:5199</a></div></div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;line-height:normal;white-space:normal;background-color:rgb(255,255,255)">></div>
</code></pre>
</code></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-08 16:34 GMT+00:00 <span dir="ltr"><<a href="mailto:zaphodb@zaphods.net" target="_blank">zaphodb@zaphods.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2016-01-08 17:10, Federico Olivieri wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Accepting control connections on <a href="http://0.0.0.0:5199" rel="noreferrer" target="_blank">0.0.0.0:5199</a> [8]<br>
</blockquote>
<br>
* However seems that it remains in client mode<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
dnsdist --daemon<br>
</blockquote>
[string "dnsdist --daemon"]:1: syntax error near <eof><br>
</span></blockquote>
<br>
I think you're trying to execute dnsdist --daemon from the dnsdist client prompt which won't work. Try aborting it with Ctrl-C and run dnsdist --daemon from a root shell. (Usually signified by the # sign - bash default prompt sign for root)<br>
If you're running the Debian package on Jessie systemd will take care of running it in --supervised mode btw.<br>
<br>
regards,<br>
<br>
Stefan<br>
</blockquote></div><br></div>