[dnsdist] LogAction() is ignored?

bert hubert bert.hubert at powerdns.com
Sun Sep 22 10:31:47 UTC 2019


On Sun, Sep 22, 2019 at 10:21:05AM +0200, Stephane Bortzmeyer wrote:
> I tried to log every query with:
> 
> addAction(AllRule(), LogAction("/tmp/dnsdist.log", false, true, false))
> 
> buffered=false is here to be sure I see the queries immediately.

Hi Stephane, an honour to have you on the list!

> > showRules()
> #     Matches Rule                                                     Action
> 0           0 IP (/32, /64) match for QPS over 100 burst 100           drop
> 1          68 All                                                      log to /tmp/dnsdist.log
> 
> /tmp/dnsdist.log is created (world-readable!) but nothing appears in
> it. topQueries() show that I do receive queries.

After some offlist additional checking, this looks like a bug, we will see
what is going on.

Thanks!

	Bert


More information about the dnsdist mailing list