AptLynx

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

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents