A user reports that they cannot access an internal web server at http://intranet.company.local but can access other internet websites. The technician runs ping intranet.company.local and receives replies successfully. Which tool should the technician use next to isolate the issue?
Trap 1: tracert
tracert (or traceroute on Linux/macOS) maps the network path by displaying the sequence of routers (hops) that packets traverse to reach a destination. Since the user can successfully ping the internal web server, it confirms that basic network connectivity exists and the route to the server is functional. Therefore, tracert would not provide useful diagnostic information for a problem that occurs after network reachability is established, such as a name resolution failure or an application-layer issue.
Trap 2: netstat
netstat is a command-line utility that displays active network connections, routing tables, interface statistics, and open ports on the local machine. While it can show if a web server is listening on port 80 or 443, it only becomes relevant after a connection attempt has been initiated and potentially failed at the transport layer or higher. It does not assist in diagnosing why a hostname ('intranet') cannot be translated into an IP address in the first place, which is the preceding step to establishing a connection.
Trap 3: ipconfig
ipconfig (or ifconfig/ip addr on Linux) displays the current TCP/IP network configuration of the local host, including IP address, subnet mask, default gateway, and DNS server addresses. While checking local DNS server configuration is part of troubleshooting, the fact that the user can access other internet sites successfully implies that the client's fundamental IP configuration, including its DNS server settings, is generally correct and functional for external lookups. Thus, ipconfig alone would not directly diagnose why a specific internal hostname fails to resolve.
- A
nslookup
When a user can successfully ping an internal web server by its IP address but cannot access it via its hostname (http://intranet), it strongly indicates a name resolution issue. nslookup is the primary command-line utility used to query Domain Name System (DNS) servers directly, allowing an administrator to verify if the hostname 'intranet' resolves to the correct IP address. If nslookup fails to resolve the name or resolves it incorrectly, it pinpoints the problem to DNS configuration, either on the client or the DNS server itself, preventing the web browser from finding the server.
- B
tracert
Why wrong: tracert (or traceroute on Linux/macOS) maps the network path by displaying the sequence of routers (hops) that packets traverse to reach a destination. Since the user can successfully ping the internal web server, it confirms that basic network connectivity exists and the route to the server is functional. Therefore, tracert would not provide useful diagnostic information for a problem that occurs after network reachability is established, such as a name resolution failure or an application-layer issue.
- C
netstat
Why wrong: netstat is a command-line utility that displays active network connections, routing tables, interface statistics, and open ports on the local machine. While it can show if a web server is listening on port 80 or 443, it only becomes relevant after a connection attempt has been initiated and potentially failed at the transport layer or higher. It does not assist in diagnosing why a hostname ('intranet') cannot be translated into an IP address in the first place, which is the preceding step to establishing a connection.
- D
ipconfig
Why wrong: ipconfig (or ifconfig/ip addr on Linux) displays the current TCP/IP network configuration of the local host, including IP address, subnet mask, default gateway, and DNS server addresses. While checking local DNS server configuration is part of troubleshooting, the fact that the user can access other internet sites successfully implies that the client's fundamental IP configuration, including its DNS server settings, is generally correct and functional for external lookups. Thus, ipconfig alone would not directly diagnose why a specific internal hostname fails to resolve.