q is a tiny command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH.
This is free and open source software.
Key Features
- Recursive AXFR.
- IP Whois.
- Resolve PTRs from A/AAAAs.
- Server from DNS Stamp.
- Output Formats: Raw (dig-style), Pretty colors, JSON, and YAML.
- Output Control: Toggle question section, answer section, authority, section, additional section, and show query time.
- Protocols supported:
- UDP/TCP DNS (RFC 1034).
- DNS over TLS (RFC 7858).
- DNS over HTTPS (RFC 8484).
- DNS over QUIC (RFC 9250).
- Oblivious DNS over HTTPS (RFC 9230).
- DNSCrypt v2 (draft-dennis-dprive-dnscrypt).
Website: github.com/natesales/q
Support:
Developer: Nate Sales
License: GNU General Public License v3.0

q is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Useful DNS Tools | |
|---|---|
| DNSControl | System for maintaining DNS zones |
| q | Command line DNS client |
| octoDNS | Manage DNS across multiple providers |
| nsupdate.info | Implement a free dynamic DNS service |
| DomainMOD | Manage domains and other internet assets in a central location |
| Poweradmin | Web-based DNS administration tool |
| dnsperf | Measure performance of authoritative domain name services |
| ctrld | Configurable DNS forwarding proxy |
| Atomia DNS | Multi-tenant system for handling large amounts of DNS data |
| SPFtoolbox | Look up DNS records |
| Designate | Multi-tenant DNSaaS service for OpenStack |
| dnsi | Tool to investigate the DNS |
| Digger | Modern DNS lookup tool with a graphical interface |
| dnst | Toolset to assist DNS operators with zone and nameserver maintenance |
| dnspyre | Command-line DNS benchmark tool |
Read our verdict in the software roundup.
| 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 |
| In-a-Dyn | Small and simple Dynamic DNS, DDNS, client |
| dnsupdate | Modern and flexible dynamic DNS client |
| wig | Simple and lightweight DNS client |
| dyndnsc | Dynamic DNS update client |
Read our verdict in the software roundup.
| 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 |
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

