Which command-line tools help separate a DNS problem from a general connectivity problem?
Answer
Use `nslookup` or `dig` to query DNS and compare the resolved address with expectations. Use `ping` only as a limited ICMP reachability signal because hosts may block ICMP. Use `traceroute` or `tracert` for path clues and a TCP-aware check such as `curl` or Windows `Test-NetConnection -Port` to verify the protocol and port that actually matter.
Strong answer includes
- DNS resolution and network reachability are separate checks
- ping failure does not prove the host is unavailable
- tests the real TCP port or application protocol
Practical example
If `api.internal` fails in a test, first resolve it with `nslookup api.internal`. If the address is correct, test TCP 443 with `Test-NetConnection api.internal -Port 443` or request the URL with `curl`.