You are here: Home » Google Chrome » How to clear/flush the DNS cache in Google Chrome?

How to clear/flush the DNS cache in Google Chrome?

2 votes

As you probably know Google Chrome has its own internal DNS cache. Is there a way to clear it without having to wait for the time out or close the browser?

Thanks

Asked by Waleed Eissa on October 26, 2010.

Accepted Answer2 votes

Navigate to chrome://net-internals/#dns and press the "Clear host cache" button.

Answered by ephemient on October 26, 2010.

Thanks a lot .. - Waleed Eissa on October 26, 2010

Strangely, this only works in one direction. I have a mapping in the hosts file that maps a domain name to the local machine (i.e. to 127.0.0.1), when I remove the mapping and flush the DNS cache in Chrome, it correctly loads the site from the internet, but when I add the mapping again to the hosts file, it still loads the site from the internet. It shows the cached DNS list empty in Chrome after clearing the DNS cache (also cleared the OS cache using ipconfig /flushdns), still, it loads the site from the internet! Seems like a bug. - Waleed Eissa on October 28, 2010

Even more annoying, Chrome shows the IP address correctly (127.0.0.1) for that domain in the DNS cache list (after flushing and trying to load the site again), still it loads the site from the internet. - Waleed Eissa on October 28, 2010

Content from Superuser of Stack Exchange. Original article at Superuser.


Related Tags

Google Chrome 716
Dns 232