Domain Name System (DNS) is the address book of the Internet. Web browsers interact through Internet Protocol (IP) addresses. DNS translates domain names to IP addresses so browsers can load Internet resources.
Windows caches the DNS records for a considerable time. This cache can be cleared by running the command ipconfig /flushdns. Other than this, your web browser like Google Chrome maintains a separate DNS cache mechanism.
Why do you need to clear the browser DNS cache?
- System administrators often find times where they need to redirect the domains by editing the host file, in order to override any DNS records for a domain name. However, every time you want to change a hostname to a different IP, you needed to close the browser before the change will take effect. This can get tedious if you have too many browser tabs or windows open.
- When doing web development or other work that requires changing the web hosting IP in the HOSTS file for testing purposes, you needed to restart the web browser every time for the new host to IP mappings to take effect.
However, with Google Chrome, you can clear the internal DNS cache without closing and reopening the browser. This post tells you how to clear the internal DNS cache of the Google Chrome browser without restarting Google Chrome.



