The doggo is a command-line tool designed for performing DNS lookups. It supports multiple record types, provides structured output, and is useful for debugging or inspecting DNS configurations directly from the terminal. This tutorial explains how to install doggo DNS lookup tool on Ubuntu 26.04.
Install doggo
Retrieve the most recent release version from the GitHub repository:
DOGGO_VERSION=$(curl -s "https://api.github.com/repos/mr-karan/doggo/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+')
Download the corresponding archive:
curl -sSLo doggo.tar.gz https://github.com/mr-karan/doggo/releases/latest/download/doggo_${DOGGO_VERSION}_Linux_x86_64.tar.gz
Create a temporary directory and extract the files:
mkdir doggo-temp
tar xf doggo.tar.gz --strip-components=1 -C doggo-temp
Move the binary into a directory included in the system PATH:
sudo mv doggo-temp/doggo /usr/local/bin
Verify that the installation completed successfully by checking doggo version:
doggo --version
Remove temporary files:
rm -rf doggo.tar.gz doggo-temp
Testing doggo
Execute a simple DNS query against a domain:
doggo google.com A AAAA MX NS
This command queries multiple DNS record types, including IPv4 (A), IPv6 (AAAA), mail exchange (MX), and name server (NS) records, presenting the results in a structured format.
Uninstall doggo
If doggo is no longer needed, run the following command to remove it:
sudo rm -rf /usr/local/bin/doggo
Leave a Comment
Cancel reply