Clear DNS cache for Google Chrome How to?

Hi Guys,

There are times when you make use of local hosts file in windows development to test your websites and while you are testing and changing your hosts file to point your domain to local/production server you notice that sometimes it doesn’t work until either you close Chrome and restart it or you wait for default timeout for chrome to refresh its DNS cache.

Chrome does that to make things faster to load so that it don’t have to fetch DNS data again and again.

Chrome is not a browser written by or for kids, so here is the something that Chrome provides to clear DNS cache manually.

net-internals webpage is a special URL that you can point your Chrome browser to to load network stack’s internal state

So in your Chrome address bar just type

chrome://net-internals/#dns

 

Or just click on the above link (open in new tab)

Once you are on the webpage just click on Clear host cache button as shown below

chrome-dns-cache-reset

Once you click on the button you will see that Active entries table where hostname is pointing to an IP is cleared/reset.

 

Resources

http://www.chromium.org/developers/design-documents/network-stack/view-net-internals

By the way if you would like to know all internal chrome commands please use this command in chrome address bar

chrome://about/

I hope this helps

If you would like to add or correct any part of this post please do leave you comments

Cheers

VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)
Clear DNS cache for Google Chrome How to?, 5.0 out of 5 based on 1 rating

Speak Your Mind

*

CommentLuv badge