Archive for October, 2019

dnsdist + dnstap

Saturday, October 5th, 2019

real quick, wanted to document this for others out there. here’s the steps you need to run dnsdist + dnstap to log/process your dns queries easily


sudo apt-get install -y golang

go get -u

sudo vi /etc/dnsdist/dnsdist.conf

# Add these lines
rl = newFrameStreamTcpLogger("")
addResponseAction(AllRule(), DnstapLogResponseAction("rdns", rl))


sudo systemctl restart dnsdist.service

go/bin/dnstap -l

And you’re all set.