Install dnspeep on Ubuntu 24.04

Install dnspeep on Ubuntu 24.04

The dnspeep is an open-source command line tool that allows you to monitor the DNS queries the computer is making. This tutorial demonstrates how to install dnspeep on Ubuntu 24.04.

Install dnspeep

Download tar.gz file from releases page of the dnspeep:

wget -qO dnspeep.tar.gz https://github.com/jvns/dnspeep/releases/latest/download/dnspeep-linux.tar.gz

Extract executable to /usr/local/bin directory:

sudo tar xf dnspeep.tar.gz -C /usr/local/bin dnspeep

Delete the unnecessary archive:

rm -rf dnspeep.tar.gz

Testing dnspeep

To use dnspeep, simply run:

sudo dnspeep

Once started, it will capture and display DNS queries and their responses in real time, showing which domains the system is querying. This helps in debugging network activity or understanding which applications are making DNS requests.

Output example:

query name                           server IP            response
A     www.google.com.                96.45.46.46          A: 172.217.18.4
A     www.google.com.                127.0.0.53           A: 172.217.18.4
A     www.google.com.                96.45.45.45          A: 142.250.184.228

Uninstall dnspeep

To remove dnspeep, delete the corresponding file:

sudo rm -rf /usr/local/bin/dnspeep

Leave a Comment

Cancel reply

Your email address will not be published.