[dnsdist] dnsdist general question

Federico Olivieri lvrfrc87 at gmail.com
Fri Jan 8 16:10:53 UTC 2016


Hi Bert,

Little bit more clear now. However there is something that I'm still missing


   - Start dnsdnist

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'


   - Made the key

> makeKey()
setKey("79UkJSMepbycRc8lKg+1Nk6RkvECK42qCoS/qVY0mHA=")
> controlSocket("0.0.0.0")
> Accepting control connections on 0.0.0.0:5199


   - However seems that it remains in client mode

>
> dnsdist --daemon
[string "dnsdist --daemon"]:1: syntax error near <eof>

Thanks

2016-01-08 15:55 GMT+00:00 bert hubert <bert.hubert at netherlabs.nl>:

> On Fri, Jan 08, 2016 at 03:51:40PM +0000, Federico Olivieri wrote:
> > I everybody,
> >
> > Going through the dsndist README i found the makekey() command as first
> > thing to run dsndist. However, is not clear to me why this step is needed
> > (my dnsdist run without it) Can you please help to understand that?
>
> You need it if you had the 'controlSocket("0.0.0.0")' statement in there
> which would have enabled the control socket. Then --client will work.
>
>         Bert
>
> >
> > Also, when I try to put dnsdist in client mode from daemon mode, I get
> this
> > error
> >
> > root at raspberrypi:~# dnsdist --client
> > Read configuration from '/etc/dnsdist/dnsdist.conf'
> > Added downstream server 0.0.0.0:0
> > Added downstream server 0.0.0.0:0
> > Added downstream server 0.0.0.0:0
> > Connecting to 127.0.0.1:5199
> > Fatal error: connecting socket to 127.0.0.1:5199: Connection refused
> >
> > I tried different combination with mi IP address as
> > root at raspberrypi:~# dnsdist --local=172.16.0.2:53 --client
> > root at raspberrypi:~# dnsdist --local=172.16.0.2:53 --client
> >
> > But same result.
> >
> > Any suggestion?
> >
> > Thanks
> >
> > Federico
>
> > _______________________________________________
> > dnsdist mailing list
> > dnsdist at mailman.powerdns.com
> > http://mailman.powerdns.com/mailman/listinfo/dnsdist
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20160108/98e8372f/attachment.html>


More information about the dnsdist mailing list