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.
Incorrect. ping tests reachability and latency but does not list every hop.
host -n app.example.testIncorrect. host performs DNS lookup, not path tracing.
Incorrect. host performs DNS lookup, not path tracing.
netstat -n app.example.testIncorrect. netstat displays local tables and does not probe the destination path.
Incorrect. 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.
Correct. 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
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.