[Pdns-users] PowerDNS Recursor Performance and Tuning

Otto Moerbeek otto at drijf.net
Sun Jan 16 10:18:35 UTC 2022


On Sun, Jan 16, 2022 at 10:01:42AM +0000, Brian Candler wrote:

> On 16/01/2022 09:41, Hamed Haghshenas via Pdns-users wrote:
> > > quiet=no
> > I need the logs and should export domains to my analyzer platform .
> 
> There are more scalable ways of doing this.  The "standards-compliant" way
> is dnstap:
> 
> https://dnstap.info/
> https://docs.powerdns.com/recursor/lua-config/protobuf.html#logging-in-dnstap-format-using-framestreams
> 
> You'll need to install a separate dnstap collector to receive the messages.
> 
> Note that powerDNS has a dependency on the "fstrm" library:
> 
> https://mailman.powerdns.com/pipermail/pdns-users/2020-June/026725.html
> 
> If you have an older version of fstrm then you can only log to a local unix
> domain socket (which may be fine, it just means running your dnstap
> collector on the same host).  A newer version is required if you want to log
> to a remote host over TCP.
> 
> I don't know about versions in RHEL/CentOS, but Ubuntu 18.04 has libfstrm0
> version 0.3.0, and that only does unix domain sockets.

Note that at the moment, dnstap does not export client queries or
replies sent to clients, only queries and/or answers to/from
authoritative servers.

	-Otto


More information about the Pdns-users mailing list