dnsdist + dnstap

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 github.com/dnstap/golang-dnstap/dnstap

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.

Comments are closed.