[Pdns-users] dnstap problem

Brian Candler b.candler at pobox.com
Mon Jun 22 07:13:11 UTC 2020

On 22/06/2020 07:03, Otto Moerbeek wrote:
> AF 2 is inet, not inet6, in /usr/include/sys/socket.h on my (OpenBSD)
> machine:
> #define AF_INET         2

Ah I see, I was going by pdns/dnstap.proto:

// SocketFamily: the network protocol family of a socket. This specifies how
// to interpret "network address" fields.
enum SocketFamily {
     INET = 1;   // IPv4 (RFC 791)
     INET6 = 2;  // IPv6 (RFC 2460)

> The problem is your version of the fstrm lib only supports unix domain
> sockets. inet and inet6 support are recent addtions to libfstrm.

That makes a lot of sense - thank you.

root at cache2:~# dpkg-query -l | grep fstrm
ii  libfstrm0:amd64 0.3.0-1build1                       amd64        
Frame Streams (fstrm) library
root at cache2:~# ldd /usr/sbin/pdns_recursor  | grep fstrm
     libfstrm.so.0 => /usr/lib/x86_64-linux-gnu/libfstrm.so.0 

Ubuntu 20.04 has version 0.6.0, which is the latest release. I'll try that.



More information about the Pdns-users mailing list