Inspect every router hop to app.example.test.
Avoid reverse-DNS delays and display addresses numerically.
Which command is appropriate?
traceroute -n increases TTL values to discover intermediate hops and suppresses reverse DNS for numeric output.
Detailed explanation
ping -n app.example.testIncorrect. ping tests reachability and latency but does not list every hop.
host -n app.example.testIncorrect. host performs DNS lookup, not path tracing.
netstat -n app.example.testIncorrect. netstat displays local tables and does not probe the destination path.
traceroute -n app.example.testCorrect. traceroute -n performs the requested hop-by-hop trace.
Try it yourself
An example you can run in a temporary verification environment.
traceroute --help 2>&1 | sed -n '1,10p'Expected result
-nなどを含むtracerouteの使用方法Key points
- Increase TTL step by step
- Display each hop
- -n suppresses name resolution
Notes
- Environment: traceroute help / 外部通信なし
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Interface counters
Kernel-maintained counts of packets, errors, and drops at an interface.
Socket
A local or remote endpoint associated with a transport protocol and process.
Path tracing
A diagnostic method that observes hops and path limits toward a destination.