CompTIA A+ Core 2 (220-1202)Operating SystemsMedium
A user is experiencing intermittent network connectivity issues on their Windows 10 desktop. The technician suspects a problem with the local DNS cache. Which command-line utility should the technician use to clear the DNS resolver cache?
- Aipconfig /all
- Bipconfig /release
- Cipconfig /renew
- Dipconfig /flushdns
Show answer & explanationAnswer & explanation
Correct answer: D. ipconfig /flushdns
The 'ipconfig /flushdns' command is specifically used to clear the DNS resolver cache on a Windows machine. This can resolve issues where a computer is using outdated or incorrect DNS information.
Why the other options are wrong
- A. ipconfig /all displays all TCP/IP configuration information, but does not modify the cache.
- B. ipconfig /release releases the current IP address from the DHCP server.
- C. ipconfig /renew obtains a new IP address from the DHCP server.
ipconfig /flushdns
A Windows command-line utility parameter used to clear the DNS resolver cache, which stores recently resolved domain names and their corresponding IP addresses.
- Removes outdated or incorrect DNS entries from the local cache.
- Useful for troubleshooting DNS resolution issues.
- Forces the system to query DNS servers for new information.
Memory trick: Flush DNS: 'FLUSH' the old, 'DNS' new!