dog
TLDR
Query A records
SYNOPSIS
dog [options] domain [type...] [@server]
DESCRIPTION
dog is a command-line DNS client with colorful output and modern features. It serves as an alternative to dig with a more user-friendly interface and support for encrypted DNS protocols.
The tool supports DNS over HTTPS (DoH) and DNS over TLS (DoT), enabling secure DNS queries. Output is colorized by default for readability, with JSON output available for scripting.
dog provides a simplified interface compared to dig while maintaining power-user features. Multiple record types can be queried simultaneously, and responses are clearly formatted.
PARAMETERS
DOMAIN
Domain name to query.TYPE
Record type: A, AAAA, MX, NS, TXT, CNAME, etc.@SERVER
DNS server to query.--json, -J
Output as JSON.--short
Short output format.--https
Use DNS over HTTPS.--tls
Use DNS over TLS.--tcp
Use TCP instead of UDP.--help
Display help information.
CAVEATS
Colorized output may need disabling for scripts. DoH/DoT require compatible servers. Some advanced dig features not available. Written in Rust, may need compilation.
HISTORY
dog was created by Benjamin Sago (ogham), also known for creating exa and other modern CLI tools. It was designed as a friendlier alternative to dig with support for modern encrypted DNS protocols.


