DNS and network configuration inspector for macOS — resolvers, search domains, and interface bindings in a single tree view.
dns collects DNS and network state from multiple macOS subsystems (scutil, ipconfig, networksetup, ifconfig, dig) and renders it as a single color-coded tree. Each section maps to a different layer of the resolution stack:
- Network — Active interfaces with IP, subnet, gateway, and an
nmapscan command - DNS Servers — Per-interface DHCP and manually configured nameservers with reverse DNS
- Search Domains — All configured search domains, deduplicated
- Resolvers — Per-interface resolver bindings with associated domains
- mDNS/Bonjour — Local hostname for multicast DNS
- Active Directory — AD domain controllers, Kerberos KDCs, and LDAP endpoints (when joined)
brew install ansilithic/tap/dnsOr build from source (requires Xcode and macOS 14+):
make build && make installUSAGE: dns
OPTIONS:
--version Show the version.
-h, --help Show help information.
# Show full DNS and network tree
dnsMIT
