dog is a command-line DNS client.
It has colourful output, understands normal command-line argument syntax, supports the DNS-over-TLS and DNS-over-HTTPS protocols, and can emit JSON.
This is free and open source software.
Key Features
- Choose between concise command-line syntax for quick lookups and conventional long-form options.
- Supports DNS over TLS and DNS over HTTPS for encrypted queries.
- Query specific DNS record types, including A, AAAA, MX, NS and TXT.
- Specify alternative nameservers and use TCP instead of UDP when required.
- Provides colourful, readable output with optional short and JSON formats.
- Displays DNS query timing information to help diagnose slow responses.
- Supports internationalised domain names.
- Includes shell completion scripts for common command-line shells.
Website: github.com/ogham/dog
Support:
Developer: Benjamin Sago
License: European Union Public License 1.2

dog is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Alternatives to dig | |
|---|---|
| dog | DNS client with colorful output, DNS-over-TLS and DNS-over-HTTPS support |
| doggo | Command-line DNS client for humans |
| drill | Perform DNS lookups and display answers returned from the name server(s) |
| dnslookup | Supports plain DNS, DoH, DoT, DoQ, and DNSCrypt |
| dug | Global DNS propagation checker |
| q | Support for UDP, TCP, DoT, DoH, DoQ and ODoH |
| DNS Clients | |
|---|---|
| dog | Colourful output, understands normal command-line argument syntax |
| doggo | Command-line DNS client for humans |
| q | Tiny command line DNS client supporting UDP, TCP, DoT, DoH, DoQ and ODoH |
| ddclient | Update dynamic DNS entries |
| GoDNS | Dynamic DNS (DDNS) client tool |
| dig | DNS lookup utility |
| awl | DNS lookup tool |
| ZDNS | High-speed DNS resolver and command line utility |
| dnslookup | Make DNS lookups |
| dug | Global DNS propagation checker |
| drill | Perform DNS lookups |
| dness | Dynamic DNS client |
| zns | Fast DNS lookup tool with DNSSEC validation and delegation tracing |
| In-a-Dyn | Small and simple Dynamic DNS, DDNS, client |
| doh | Query multiple DNS-over-HTTPS resolvers with JSON output |
| dnsupdate | Modern and flexible dynamic DNS client |
| ch4 | Dig-compatible DNS client with UDP, TCP and EDNS support |
| wig | Simple and lightweight DNS client |
| dyndnsc | Dynamic DNS update client |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.