Run network diagnostics including ping, DNS resolution, port checks, and traceroute.
# Quick connectivity check
python3 scripts/netdiag.py check google.com
# Check if a port is open
python3 scripts/netdiag.py port example.com 443
# DNS resolution
python3 scripts/netdiag.py dns example.com
# Full diagnostic report
python3 scripts/netdiag.py full example.com
check — Ping-style connectivity checkport — Check if a TCP port is opendns — Resolve DNS for a hostnamefull — Run all diagnostics on a host共 1 个版本