network-tools

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.

View on GitHub Download

What it does

Tools

dns-leak-check.sh — DNS leak & privacy posture check

Non-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 DNS

Interactive, 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

Requirements

dig for the leak checker; dsniff (arpspoof) + tcpdump for the LAN monitor. Works on Debian/Ubuntu/Kali, Fedora, Arch, and macOS.

License & use

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.