doggo
DNS client written in Go, similar to dig, with color-coded or JSON output and support for DoH, DoT, DoQ, DNSCrypt, TCP and UDP transports.
doggo is a command-line DNS client, comparable to dig, written in Go. It was inspired by the Rust tool dog. It prints query results in a concise, color-coded tabular format, and can emit JSON for scripting, for example piping doggo example.com --json into jq. Basic usage looks like doggo MX github.com @9.9.9.9, where record types and a nameserver can be given as arguments.
It supports several transports: DNS over HTTPS (including explicit HTTP/3 with --http3), DNS over TLS, DNS over QUIC, DNSCrypt, TCP and UDP. Other documented features include iterative delegation tracing with --trace, reverse lookups with --reverse, EDNS options (Client Subnet, NSID, Cookies, Padding, Extended Errors), IDN to punycode conversion, ndots and search handling, multiple resolvers with configurable query strategies, and binding to a local source address with -b/--source. It can also run queries through Globalping using flags such as --gp-from and --gp-limit. It reports response times and has a debug mode.
Defaults can be set in a TOML config file (such as ~/.config/doggo/config.toml) or through DOGGO_* environment variables. Command line flags take highest precedence. Shell completions are available for zsh and fish, and there is a separate web interface. The tool suits developers, sysadmins and SREs who debug DNS resolution, compare resolvers, or script DNS checks. It is distributed as binaries for several operating systems, as a Docker image, and through many package managers.
Installation
# via Homebrew
brew install doggo
# via Go
go install github.com/mr-karan/doggo/cmd/doggo@latest
# via Install script
curl -fsSL https://raw.githubusercontent.com/mr-karan/doggo/main/install.sh | sh

Alternatives & related tools
devzat
SSH server that creates a chat room instead of shell access, enabling cross-platform terminal chat
curlie
A curl frontend that combines curl's features with HTTPie's user-friendly interface and syntax
bombardier
HTTP(S) benchmarking tool written in Go that uses fasthttp by default, with optional net/http for HTTP/2, and reports latency, requests/sec and throughput.
tldx
CLI tool for brainstorming and checking domain name availability with keyword permutations and TLD presets
wego
Terminal weather client showing 1–7 day forecasts from several backends, rendered as an ASCII-art table, emoji, markdown, or JSON.
add a badge to your README
Maintain doggo? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/doggo?utm_source=badge)<a href="https://www.trmn.sh/tools/doggo?utm_source=badge"><img src="https://www.trmn.sh/badge/doggo.svg" alt="Featured on trmn" height="20"></a>