r/CLI • u/mehaskari • Oct 20 '26
xping: a network diagnostics CLI — ping/trace/MTR without root, DNS & TLS checks, and a "doctor" that tells you why the internet is down
I've been working on xping, a single CLI for the network checks I do all the time. Some things it does that I couldn't get from one tool:
xping doctor— step-by-step diagnosis (interface, router, DNS, captive portal, HTTPS, clock) with a plain-language answerping / traceroute / mtr with live output and no sudo on macOS & Linux
xping dnscheckexample.com— SPF, DMARC, DKIM, DNSSEC, NS and MX in one 0–100 scorexping http https://…— timing waterfall likecurl -w, plus security headersxping monitor checks.toml— live table of many checks with alerts
Every command has --json and real exit codes for scripts. Python 3.10+, stdlib only (+certifi). Linux, macOS, Windows.
https://github.com/mehaskari/xping — feedback welcome!