Guide
Network Diagnostic Tools
Diagnostic tools answer specific questions about names, routes, services and performance. Ping tests an ICMP exchange; traceroute reveals selected hop responses; dig queries DNS; curl inspects application exchanges. No single tool proves that every layer is healthy.
Meaning and purpose
Diagnostic tools answer specific questions about names, routes, services and performance. Ping tests an ICMP exchange; traceroute reveals selected hop responses; dig queries DNS; curl inspects application exchanges. No single tool proves that every layer is healthy.
How it works in context
Start with the observed symptom, endpoint and timestamp. Test local interface state and routing, then name resolution, transport, TLS and the application as relevant. Packet captures show traffic visible at the capture point; missing packets may have disappeared elsewhere. Traceroute responses can be rate-limited or follow different paths from application traffic.
Technical terms in this section
Ping
Ping measures ICMP Echo reachability and round-trip time from one measurement point.
Traceroute
Traceroute observes selected hop responses using controlled packet lifetime, with visibility and path limitations.
MTR
MTR combines repeated hop probes and statistics whose intermediate response loss requires careful interpretation.
WHOIS
WHOIS returns registration text with provider-specific formatting, availability and filtering.
RDAP
RDAP delivers structured registration data and referral behavior over HTTP.
nslookup
nslookup queries DNS servers for names and record types.
dig
dig inspects DNS questions, responses, status and server details.
host
host performs straightforward DNS name and reverse-address queries.
curl
curl transfers data and inspects protocol responses, headers and timing information.
wget
wget downloads resources using supported protocols and configurable retrieval behavior.
netstat
netstat reports connection and routing information with platform-specific capabilities.
ss
ss inspects Linux sockets, listeners and connection state.
tcpdump
tcpdump captures packets visible at an authorized interface and can expose sensitive traffic.
Wireshark
Wireshark dissects captured protocol traffic for detailed network analysis.
Nmap
Nmap probes authorized targets for port and service observations using selected scan techniques.
iperf3
iperf3 measures controlled transport performance between cooperating authorized endpoints.
OpenSSL
OpenSSL provides cryptographic libraries and command-line certificate and TLS inspection tools.
Looking glass servers
Looking glasses expose routing or diagnostics from an operator’s own network viewpoint.
BGP monitoring tools
BGP monitoring tools analyze routing observations with collector-specific coverage and timing.
DNS propagation tools
DNS visibility tools compare selected resolvers rather than every worldwide cache.
IP geolocation tools
IP geolocation tools return dataset-dependent estimates that may be inaccurate or stale.
Operational checks and security
Use read-only checks first and preserve raw output. Compare multiple viewpoints before blaming an intermediate hop. Obtain authorization for scans and captures, and avoid publishing tokens or private payloads from diagnostic logs.
Read-only example
These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.
dig example.com
curl -I https://example.com
ss -s
Sources and further reading
These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.