[dnsdist] Dnsdist and DNSTAP

Willis, Michael Michael.Willis at cinbell.com
Thu Jun 30 23:49:11 UTC 2022


Hah! never mind I got it figured out...

The documentation was confusing me, I needed to invoke the DNStap like this:

addAction(AllRule(), DnstapLogAction("dnstap1", newFrameStreamTcpLogger("192.168.16.88:6000")))

Thanks,
-Mike


________________________________
From: dnsdist <dnsdist-bounces at mailman.powerdns.com> on behalf of Willis, Michael via dnsdist <dnsdist at mailman.powerdns.com>
Sent: Thursday, June 30, 2022 5:57 PM
To: Willis, Michael via dnsdist <dnsdist at mailman.powerdns.com>
Subject: [dnsdist] Dnsdist and DNSTAP

I'm trying to fire over all traffic from the dnsdist servers to a dns-go-collector.

addLocal("192.168.16.89:53", {reusePort=true})

setACL({'0.0.0.0/0', '::/0'})

newServer("8.8.8.8")
newServer("9.9.9.9")
setServerPolicy(firstAvailable)
newFrameStreamTcpLogger('192.168.16.88:6000')


It seems to make the connection to the collector, but I never get any data, also TCP dump doesn't see any data transmitted to the collector when I make requests either (port 6000)

INFO: 2022/06/30 17:45:02.907039 [dtap] dnstap collector - 192.168.16.89:37290 - new connection
INFO: 2022/06/30 17:45:02.907090 [dtap] dnstap processor - initialization...
INFO: 2022/06/30 17:45:02.907224 [dtap] dnstap processor - dns cached enabled: false
INFO: 2022/06/30 17:45:02.907489 [dtap] dnstap collector - receiver framestream initialized
INFO: 2022/06/30 17:45:02.907681 [dtap] dnstap processor - running... waiting incoming dns message


Any thoughts on what I need to get dnstap to actually send the data?

Thanks,
-Mike





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20220630/1a955ffb/attachment.htm>


More information about the dnsdist mailing list