Command-line DNS client like dig, with readable output and DoH, DoT, DoQ and DNSCrypt
open sourceGPL-3.0-onlyfree
doggo is a command-line DNS client in the vein of dig, written in Go. It prints answers as a colour-coded table or as JSON for scripts, queries nameservers over UDP, TCP, DNS over HTTPS (including HTTP/3), DNS over TLS, DNS over QUIC and DNSCrypt, and can trace the delegation chain, do reverse lookups and send EDNS options such as Client Subnet and NSID. It was inspired by the Rust tool dog, and the same queries can be run from a web interface at its homepage.
Ways to install
Package managers
Problems it solves
- dig output is hard to read and I just want to see the DNS records for a domain
- I need to test whether a DNS over HTTPS or DNS over TLS resolver answers correctly
- get DNS lookup results as JSON so a script can parse them
- trace which nameservers a domain delegates through when DNS changes are not showing up
Features
- human-readable, colour-coded table output, or JSON for scripting
- UDP, TCP, DNS over HTTPS, DNS over TLS, DNS over QUIC and DNSCrypt nameservers
- iterative delegation tracing with --trace
- EDNS options: Client Subnet, NSID, cookies, padding and extended errors
- reverse DNS lookups and internationalized domain names
- defaults from a TOML config file or DOGGO_* environment variables
- queries from other locations through Globalping
- a web interface for the same queries
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what doggo does.
- dnscrypt-proxy Flexible DNS proxy that encrypts DNS with DNSCrypt, DNS-over-HTTPS and Anonymized DNS, with filtering and caching
