q command line DNS client (https://github.com/natesales/q)
Usage:
q [OPTIONS]
Application Options:
-q, --qname= Query name
-s, --server= DNS server
-t, --type= RR type
-x, --reverse Reverse lookup
-d, --dnssec Request DNSSEC
-f, --format= Output format (pretty, json, raw) (default: pretty)
-c, --chaos Use CHAOS query class
-p, --odoh-proxy= ODoH proxy
-i, --insecure Disable TLS certificate verification
--timeout= Upstream timeout in seconds (default: 10)
-v, --verbose Show verbose log messages
Help Options:
-h, --help Show this help message
- UDP DNS (RFC 1034)
- DNS over TLS (RFC 7858)
- DNS over HTTPS (RFC 8484)
- DNS over QUIC (draft-ietf-dprive-dnsoquic-02)
- Oblivious DNS over HTTPS (draft-pauly-dprive-oblivious-doh-06)
q
is available as a deb/rpm for apt/yum in my public code repositories, as a binary under releases, and in the AUR as q-dns-git.