Skip to content
/ dns Public

DNS and network configuration inspector for macOS — resolvers, search domains, and interface bindings.

License

Notifications You must be signed in to change notification settings

ansilithic/dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dns

Swift 6.0 macOS 14+ License: MIT

DNS and network configuration inspector for macOS — resolvers, search domains, and interface bindings in a single tree view.

dns

How it works

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 nmap scan 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)

Install

brew install ansilithic/tap/dns

Or build from source (requires Xcode and macOS 14+):

make build && make install

Usage

USAGE: dns

OPTIONS:
  --version               Show the version.
  -h, --help              Show help information.

Examples

# Show full DNS and network tree
dns

License

MIT

About

DNS and network configuration inspector for macOS — resolvers, search domains, and interface bindings.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors