[dnsdist] dnsdist general question

Federico Olivieri lvrfrc87 at gmail.com
Fri Jan 8 17:01:48 UTC 2016


Hi Stefan,

Thanks for your reply.

My wanted just an example to show that after the controlSocket command the
prompt remains in dnsdist "mode".

>From README should be

# dnsdist
> makeKey()
setKey("sepuCcHcQnSAZgNbNPCCpDWbujZ5esZJmrt/wh6ldkQ=")

controlSocket("0.0.0.0")


# dnsdist --daemon
# dnsdist --client
>

When instead I have
root at raspberrypi:~# dnsdist
Read configuration from '/etc/dnsdist/dnsdist.conf'
Added downstream server 172.16.0.3:53
Added downstream server 127.0.0.1:5300
Added downstream server 127.0.0.1:5300
Listening on 127.0.0.1:53
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
Webserver launched on 172.16.0.2:8083
Marking downstream banana (172.16.0.3:53) as 'up'
Marking downstream raspi (127.0.0.1:5300) as 'up'
Marking downstream raspi (127.0.0.1:5300) as 'up'
> makeKey()
setKey("79UkJSMepbycRc8lKg+1Nk6RkvECK42qCoS/qVY0mHA=")
> controlSocket("0.0.0.0")
> Accepting control connections on 0.0.0.0:5199
>


2016-01-08 16:34 GMT+00:00 <zaphodb at zaphods.net>:

> On 2016-01-08 17:10, Federico Olivieri wrote:
>
>> Accepting control connections on 0.0.0.0:5199 [8]
>>>
>>
>>         * However seems that it remains in client mode
>>
>>
>>>
>> dnsdist --daemon
>>>
>> [string "dnsdist --daemon"]:1: syntax error near <eof>
>>
>
> 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)
> If you're running the Debian package on Jessie systemd will take care of
> running it in --supervised mode btw.
>
> regards,
>
>  Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20160108/048d3fa1/attachment.html>


More information about the dnsdist mailing list