Question

Difficulty: MediumWindows Client Networking Configuration

A tier 1 help desk technician is troubleshooting a Windows 11 client computer that cannot access internal intranet resources using domain names (such as http://intranet.company.local), although reaching resources via IP address works correctly. The technician verifies that the DHCP server was recently updated with new DNS server addresses, but the client system is still retaining outdated network parameters. Which of the following command sequences should the technician execute in an elevated Command Prompt to obtain the updated DNS server addresses from DHCP and clear stale host resolution entries?

  1. Run ipconfig /release followed by ipconfig /renew and ipconfig /flushdnsAnswer
  2. B
    Run ipconfig /registerdns followed by netsh interface ip reset
  3. C
    Open Network Connections in Control Panel and set the Alternate Configuration tab to APIPA
  4. D
    Navigate to Windows Settings and change the network profile type from Private to Public

Answer

The correct action is to run ipconfig /release followed by ipconfig /renew and ipconfig /flushdns in an elevated Command Prompt.
Releasing and renewing the IP lease via ipconfig /release and ipconfig /renew forces the Windows client to contact the DHCP server and retrieve updated option scope parameters, including the new DNS server IP addresses. Following this with ipconfig /flushdns purges the local DNS resolver cache, removing any stale hostname-to-IP mappings so the client can successfully resolve domain names through the updated DNS infrastructure.

Step-by-Step Solution

1
Identify the cause of stale DNS network settings on the Windows client
Recognize that the client is holding onto an existing DHCP lease containing outdated DNS server IP addresses and cached host resolution records.
When network options change on a DHCP server, active client leases retain old configuration parameters until renewed or re-initialized.
2
Select the appropriate CLI utility switches to request updated DHCP lease information
Executing ipconfig /release drops the current DHCP lease, and ipconfig /renew requests a fresh lease containing the updated DNS server IP addresses.
The renew command queries the DHCP server for all current options, including primary and secondary DNS server addresses.
3
Clear local client name resolution cache
Executing ipconfig /flushdns purges cached DNS resolver entries.
Purging the DNS cache ensures that subsequent FQDN queries reach the newly designated DNS servers rather than relying on stale local entries.

Key Concept

Windows Client DHCP Lease Renewal and DNS Resolver Cache Flushing
Estimated Time:1m 15s
Rate this question