System administration

q – feature-rich command-line DNS client

q is a command-line DNS client aimed at making both everyday lookups and deeper resolver troubleshooting convenient from one interface. It can query conventional DNS servers as well as encrypted DNS transports, while presenting responses in readable terminal output or machine-friendly formats.

Resolver selection can come from command-line arguments, system configuration or q’s own configuration. The program also handles local multicast DNS, making it useful for investigating names advertised on a LAN as well as public DNS. Its combination of protocol coverage and flexible output makes it a practical alternative to maintaining separate tools for several kinds of DNS query.

This is free and open source software.

Key Features

  • Queries DNS over UDP and TCP as well as DNS over TLS, HTTPS and QUIC.
  • Supports Oblivious DNS over HTTPS and DNSCrypt for additional encrypted resolver options.
  • Performs multicast DNS queries for discovering and troubleshooting names on the local network.
  • Supports zone transfers and reverse lookups alongside ordinary record queries.
  • Can inspect IP registration information without leaving the command-line workflow.
  • Reads persistent command-line options from a user configuration file for repeatable query preferences.
  • Produces compact or detailed terminal output and can emit structured JSON and YAML for scripts.
  • Provides control over displayed DNS sections and exposes protocol details useful when diagnosing resolver behaviour.

Website: github.com/natesales/q
Support:
Developer: Nate Sales
License: GNU General Public License v3.0

q help

q is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Useful DNS Tools
DNSControlSystem for maintaining DNS zones
qCommand line DNS client
octoDNSManage DNS across multiple providers
nsupdate.infoImplement a free dynamic DNS service
ExternalDNSAutomatically keep Kubernetes resources and their DNS records in sync
DNSVizVisualise DNS and DNSSEC problems at a glance
dnsglobeCheck how DNS records propagate around the world
DNSDiagPinpoint DNS delays and troubleshoot lookup failures
DomainMODManage domains and other internet assets in a central location
PoweradminWeb-based DNS administration tool
dnsperfMeasure performance of authoritative domain name services
ctrldConfigurable DNS forwarding proxy
Atomia DNSMulti-tenant system for handling large amounts of DNS data
SPFtoolboxLook up DNS records
FlamethrowerStress DNS servers with high-volume queries to test performance
DNS-collectorCollect, transform and route DNS traffic data for monitoring and analysis
DesignateMulti-tenant DNSaaS service for OpenStack
Zonemaster-CLIPut DNS zones through extensive automated checks from a terminal
dnsiTool to investigate the DNS
DiggerModern DNS lookup tool with a graphical interface
dnstToolset to assist DNS operators with zone and nameserver maintenance
dnspyreCommand-line DNS benchmark tool
dns-lexiconManage DNS records across providers through a consistent interface

Read our verdict in the software roundup.

DNS Clients
dogColourful output, understands normal command-line argument syntax
doggoCommand-line DNS client for humans
qTiny command line DNS client supporting UDP, TCP, DoT, DoH, DoQ and ODoH
ddclientUpdate dynamic DNS entries
GoDNSDynamic DNS (DDNS) client tool
digDNS lookup utility
awlDNS lookup tool
ZDNSHigh-speed DNS resolver and command line utility
dnslookupMake DNS lookups
dugGlobal DNS propagation checker
drillPerform DNS lookups
dnessDynamic DNS client
znsFast DNS lookup tool with DNSSEC validation and delegation tracing
In-a-DynSmall and simple Dynamic DNS, DDNS, client
dohQuery multiple DNS-over-HTTPS resolvers with JSON output
dnsupdateModern and flexible dynamic DNS client
ch4Dig-compatible DNS client with UDP, TCP and EDNS support
wigSimple and lightweight DNS client
dyndnscDynamic DNS update client

Read our verdict in the software roundup.

Alternatives to dig
dogDNS client with colorful output, DNS-over-TLS and DNS-over-HTTPS support
doggoCommand-line DNS client for humans
drillPerform DNS lookups and display answers returned from the name server(s)
dnslookupSupports plain DNS, DoH, DoT, DoQ, and DNSCrypt
dugGlobal DNS propagation checker
qSupport for UDP, TCP, DoT, DoH, DoQ and ODoH

Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted