A2.III · A+ Core 2 practice question
A technician is troubleshooting a network connectivity issue where a user cannot reach a specific internal server by name. The workstation uses a statically assigned IP address. After running ipconfig /all, the technician observes that the DNS servers listed are incorrect for the local network segment. Which command should the technician run next to immediately update the DNS server configuration for the local machine without rebooting?
Check answer and explanation
Correct answer: netsh interface ip set dns name="Ethernet" static <server_ip>
Explanation
The `ipconfig /release` and `ipconfig /renew` commands refresh the IP configuration (IP address, subnet mask, gateway, and often DNS settings if DHCP is in use), but when you need to manually *set* or *change* the DNS server configuration directly on a specific network adapter without waiting for a DHCP lease renewal cycle, `netsh interface ip set dns static` is the precise tool for making the static configuration change.
Common trap
The trap here is confusing the functions of `ipconfig /release`/`renew` (which mainly deal with renewing the lease) with `netsh`, which is the command set for manually manipulating interface configurations like DNS servers.
Source: Windows Command Reference: ipconfig and netsh (General reference for these commands) - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig
Checked against the cited text on 2026-11-27.