Small, self-contained command-line tools to audit and inspect a network you own — detect DNS leaks, find devices bypassing your DNS filtering (Pi-hole, AdGuard, NextDNS), and verify your DNS is actually encrypted. Pure shell, Linux & macOS, no heavy dependencies.
8.8.8.8/1.1.1.1 directly.dns-leak-check.sh — DNS leak & privacy posture checkNon-disruptive, no root. Audits the DNS posture of the host it runs on: configured resolver, filtering status, encrypted upstream, egress IP, bypass capability (53/DoH/DoT), and DoH-bootstrap blocking. Run it on each device to compare.
git clone https://github.com/alexwiz117/network-tools
cd network-tools
./dns-leak-check.sh
arp-dns-watch.sh — find LAN devices bypassing your DNSInteractive, menu-driven ARP-based monitor (Linux). Pick target devices (or the whole LAN), relays traffic safely with IP forwarding, sniffs only external DNS, and reports which devices skip your resolver — then heals the ARP tables on exit. Authorized-use only.
sudo ./arp-dns-watch.sh
dig for the leak checker; dsniff (arpspoof) + tcpdump for the LAN monitor.
Works on Debian/Ubuntu/Kali, Fedora, Arch, and macOS.
MIT licensed. These tools are for education and authorized security testing only — use them only on networks and devices you own or are explicitly permitted to test.