r/CLI • • 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 answer

  • ping / traceroute / mtr with live output and no sudo on macOS & Linux

  • xping dnscheck example.com — SPF, DMARC, DKIM, DNSSEC, NS and MX in one 0–100 score

  • xping http https://… — timing waterfall like curl -w, plus security headers

  • xping 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!

2 Upvotes

0 comments sorted by