nerdexam
CompTIA

N10-005 · Question #328

A technician suspects invalid information in the local DNS cache of a workstation. Which of the following commands can be used to clear this?

The correct answer is D. ipconfig. On Windows, the command 'ipconfig /flushdns' clears the local DNS resolver cache, removing any stale or invalid cached records. This forces the workstation to query the DNS server fresh on the next lookup. 'nslookup' is a DNS query tool used to look up hostnames and IP…

Network troubleshooting

Question

A technician suspects invalid information in the local DNS cache of a workstation. Which of the following commands can be used to clear this?

Options

  • Anslookup
  • Bifconfig
  • Cdig
  • Dipconfig

How the community answered

(33 responses)
  • A
    3% (1)
  • C
    6% (2)
  • D
    91% (30)

Explanation

On Windows, the command 'ipconfig /flushdns' clears the local DNS resolver cache, removing any stale or invalid cached records. This forces the workstation to query the DNS server fresh on the next lookup. 'nslookup' is a DNS query tool used to look up hostnames and IP addresses-it does not flush the cache. 'ifconfig' is a Linux/Unix command used to configure or display network interface settings and has no DNS cache management function. 'dig' (Domain Information Groper) is a Unix/Linux DNS lookup tool similar to nslookup-it queries DNS but does not clear the local cache.

Topics

#DNS cache#ipconfig#command line tools#DNS troubleshooting

Community Discussion

No community discussion yet for this question.

Full N10-005 Practice