Re: [dnsdist] Logging a sample of queries

2019-09-15 Thread Jacob Bunk Nielsen
On 06/09/2019 10.07, Jacob Bunk Nielsen wrote: I want to log a sample of our DNS queries to dnsdist. We run dnsdist 1.3.3 under systemd. I have tried: addAction(ProbaRule(0.01), LogAction()) I would expect this to log ~1/100 of our queries. But there's obviously a bug in the docs for dnsdist

[dnsdist] Logging a sample of queries

2019-09-06 Thread Jacob Bunk Nielsen
Hi I want to log a sample of our DNS queries to dnsdist. We run dnsdist 1.3.3 under systemd. I have tried: addAction(ProbaRule(0.01), LogAction()) I would expect this to log ~1/100 of our queries. But there's obviously a bug in the docs for dnsdist because LogAction() always require at lea