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
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
Hello again,
> On Mar 19, 2019, at 2:19 PM, Jonathan Reed wrote:
>
> Winfried provided some help to me a few months back by pointing out that the
> Protobuf example code is located in the pdns repo.
> https://github.com/PowerDNS/pdns/blob/master/contrib/ProtobufLogger.py
>
Sigh. Apparently my problem was that I was putting the RemoteLogAction()s
after all the other actions. When I put them up front in my configuration, it
worked like a champ!
Thanks again for the help!
Casey
> On Mar 19, 2019, at 4:35 PM, Jonathan Reed wrote:
>
> This ought to work
>
>
This ought to work
remote_logger = newRemoteLogger('1.1.1.1:5140')
logged_domains = {'example.com'}
addAction(logged_domains, RemoteLogAction(remote_logger))
addResponseAction(logged_domains, RemoteLogResponseAction(remote_logger))
addCacheHitResponseAction(logged_domains,
Thanks a lot Daniel,
but Ubuntu 14.04 in my case.
Ale.
-Original Message-
From: dnsdist [mailto:dnsdist-boun...@mailman.powerdns.com] On Behalf Of Daniel
Stirnimann
Sent: lunes, 16 de enero de 2017 15:50
To: dnsdist@mailman.powerdns.com
Subject: Re: [dnsdist] Logging Facility
Hello
Hi all!
Anyone knows the logging facility I should use to control the dnsdist log
messages ... I cant find it!
Thanks!
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist