Question

Difficulty: MediumUtilizing Command-Line Network Troubleshooting Utilities

A network administrator is troubleshooting connectivity to an internal updates repository on a Windows workstation. The workstation is failing to resolve the host name update.service.internal. To resolve the issue, the administrator wants to purge any cached domain name resolution records locally on the workstation and directly test hostname resolution using a specific internal DNS server located at 192.168.10.50. Which of the following commands should the administrator execute to accomplish these tasks? (Select TWO)

  1. ipconfig /flushdnsAnswer
  2. nslookup update.service.internal 192.168.10.50Answer
  3. C
    arp -d *
  4. D
    netstat -r 192.168.10.50

Answer

The administrator must execute 'ipconfig /flushdns' to clear the local DNS resolver cache and 'nslookup update.service.internal 192.168.10.50' to send a targeted query to the designated DNS server.
Executing 'ipconfig /flushdns' purges the Windows local DNS resolver cache, removing potentially stale or incorrect host records. Appending the IP address '192.168.10.50' after the domain name in 'nslookup' instructs the utility to query that designated DNS server directly rather than using the system's default DNS server configuration.

Step-by-Step Solution

1
Purge stale local DNS cache
Clears outdated or corrupted hostname records stored locally by Windows.
Executing 'ipconfig /flushdns' forces the client resolver to discard existing cached records so subsequent queries check the DNS server directly.
2
Test name resolution against a specific server
Sends a direct DNS lookup request for update.service.internal to 192.168.10.50.
Passing the target IP address as the second parameter in 'nslookup' overrides the default configured DNS server on the network interface.

Key Concept

Utilizing Windows CLI utilities for DNS resolver cache clearing and targeted DNS lookup queries.
Rate this question