<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hah! never mind I got it figured out...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The documentation was confusing me, I needed to invoke the DNStap like this:<br>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
addAction(AllRule(), DnstapLogAction("dnstap1", newFrameStreamTcpLogger("192.168.16.88:6000")))<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-Mike</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> dnsdist <dnsdist-bounces@mailman.powerdns.com> on behalf of Willis, Michael via dnsdist <dnsdist@mailman.powerdns.com><br>
<b>Sent:</b> Thursday, June 30, 2022 5:57 PM<br>
<b>To:</b> Willis, Michael via dnsdist <dnsdist@mailman.powerdns.com><br>
<b>Subject:</b> [dnsdist] Dnsdist and DNSTAP</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I'm trying to fire over all traffic from the dnsdist servers to a dns-go-collector.</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
addLocal("192.168.16.89:53", {reusePort=true})
<div><br>
</div>
<div>setACL({'0.0.0.0/0', '::/0'})<br>
</div>
<div><br>
</div>
<div>newServer("8.8.8.8")</div>
<div>newServer("9.9.9.9")</div>
<div>setServerPolicy(firstAvailable)</div>
<div>newFrameStreamTcpLogger('192.168.16.88:6000')<br>
</div>
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
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)</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
INFO: 2022/06/30 17:45:02.907039 [dtap] dnstap collector - 192.168.16.89:37290 - new connection
<div>INFO: 2022/06/30 17:45:02.907090 [dtap] dnstap processor - initialization...</div>
<div>INFO: 2022/06/30 17:45:02.907224 [dtap] dnstap processor - dns cached enabled: false</div>
<div>INFO: 2022/06/30 17:45:02.907489 [dtap] dnstap collector - receiver framestream initialized</div>
<div>INFO: 2022/06/30 17:45:02.907681 [dtap] dnstap processor - running... waiting incoming dns message</div>
<div><br>
</div>
<div><br>
</div>
<div>Any thoughts on what I need to get dnstap to actually send the data?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>-Mike</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
</div>
</div>
</body>
</html>