StaxPing provides a unified interface for DNS lookup, ICMP ping, HTTP health checks, and optional traceroute.
This page covers the core commands, examples, and output behavior.
The simplest way to run StaxPing is to provide a target domain or IP:
staxping example.com
This performs:
Traceroute is optional and must be enabled manually.
StaxPing automatically resolves both IPv4 and IPv6 records.
Example:
staxping example.com
DNS output includes:
If DNS resolution fails, StaxPing provides a clear fallback message.
ICMP ping runs after DNS resolution (unless disabled by capability checks).
Output includes:
Example:
staxping 8.8.8.8
If ICMP is unavailable on the system, StaxPing reports this without exiting unexpectedly.
StaxPing performs a lightweight HTTP request to test reachability and response behavior.
Output includes:
Example:
staxping https://example.com
The HTTP check is designed to be fast and safe, with no large downloads.
Traceroute is optional and must be enabled with --trace.
Example:
staxping example.com --trace
Traceroute output includes:
If traceroute is not supported on the system, StaxPing provides a clear fallback message.
StaxPing is designed to run multiple diagnostics in a single command.
Example:
staxping google.com --trace
This performs:
All results are displayed in a consistent, structured format.
StaxPing uses predictable exit codes for scripting and automation:
0 — Success1 — DNS failure2 — ICMP failure3 — HTTP failure4 — Traceroute failure5 — Capability or configuration errorIf multiple modules fail, StaxPing returns the highest relevant code.
StaxPing output is designed to be:
Formatting goals:
This ensures StaxPing behaves the same on every supported system.
StaxPing aims to provide a clean, unified diagnostic workflow with predictable output and minimal surprises.