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?

link|improve this question
feedback

4 Answers

up vote 72 down vote accepted

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

Here you can find the documentation of Chrome's net-internals page

link|improve this answer
Thanks a lot .. – Mee Oct 26 '10 at 23:03
3  
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. – Mee Oct 28 '10 at 2:14
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. – Mee Oct 28 '10 at 2:15
awesome, is there a list of all the chrome://* options anyway does anyone know? – Ian May 13 '11 at 9:18
@Ian chrome://about – ephemient Sep 24 '11 at 18:47
show 2 more comments
feedback

"Navigate to chrome://net-internals/#dns" doesn't work in the Google Chrome browser, at least on my system. Looks like this solution maybe works for the Google Chrome OS, but not the Google Chrome browser more generally speaking. For me the link redirects here - http://www.chromium.org/developers/design-documents/network-stack/view-net-internals (very clever those Googlers)

It appears "Empty the Cache" is the better solution. Also note my browser says "Preferences" rather than "Options"

Via http://www.google.com/support/forum/p/Chrome/thread?tid=026b6a1d9151a6e3&hl=en

"Go to tools -> options -> Under the hood -> Clear Browsing data and check 'empty the cache' and click on clear browsing data. Yes yes, I know, it is not the DNS cache I would expect it to clear, but hey it seems to. And now it works for me."

link|improve this answer
For the record, this solution didn't clear up my particular problem. Hopefully I just need to wait another day for DNS propagation. – ferodynamics Oct 20 '11 at 8:22
feedback

This worked for me: Empty and Clear the Disk Cache

In Chrome, click on Wrench icon, and then Options. Go to Under the Hood tab. Click on Clear browsing data button under Privacy section. Select just "Empty the cache" check box, and then click on Clear browsing data button.

This worked immediately - I didn't even have to close the browser.

link|improve this answer
feedback

try DNS Flusher for Chrome Note that to use it, it requires command line flag --enable-benchmarking when you start the chrome browser.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.