Command-line tool
dnsx
brew/dnsx
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
DNS query and resolution tool
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install dnsx
Linux
brew install dnsx
Query the A record of a (sub)domain and show [re]sponse received
echo example.com | dnsx -a -re
Query all the DNS records (A, AAAA, CNAME, NS, TXT, SRV, PTR, MX, SOA, AXFR, CAA)
dnsx <<< example.com -recon -re
Query a specific type of DNS record
echo example.com | dnsx -re -a
Browse
Related command-line tools
- Resolution Suggester
Resolution Suggester (Windows package; no description in the winget index) windows cli rdp remote-desktop resolution - atproto-identity
AT Protocol identity management - DID resolution, handle resolution, and cryptographic operations - screenresolution
Get, set, and list display resolution - displayplacer
Utility to configure multi-display resolutions and arrangements - lowcharts
Tool to draw low-resolution graphs in terminal - sane-backends
Backends for scanner access - smartdns
Rule-based DNS server for fast IP resolution, DoT/DoQ/DoH/DoH3 supported network 网络 internet 互联网 dns doh dot doq - dirac
General-purpose video codec aimed at a range of resolutions
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents