Instructions (Ubuntu 24.04):
- Free up port 53 by running
sh disable-systemd-resolver.sh - Set up dnsdist:
apt-get install dnsdist- Copy
dnsdist.confto/etc/dnsdist/dnsdist.conf - Adjust second argument of
carbonServer() - Restart dnsdist:
service dnsdist restart
- In a
screen, runsh capture.sh. This will store up to 10G of DNS traffic in /tmp/.
Traffic statistics are available at https://metronome.powerdns.com/?server=dnsdist.desec-w00t-a.main&beginTime=-3600 (or similar, depending on step 2).
To watch queries, check out watch.sh.