I was working on a site today and wondered why a set of links to outside sites ended up pointing to my own box. Ended up these sites were flagged as advertising sites in my HOSTS file. I temporarily commented out the settings but of course this didn't make a difference to the browser. After a quick Google search I found that you can flush the DNS in Windows by simply doing:
ipconfig /flushdns
Gotta love google! By the way, Netscape seems to keep it's own cache a bit longer. I had to test in IE to see the change.
Archived Comments
In Mozilla/Netscape I think it will reset the DNS caching if you go offline and back on again.
Of course, the question is, how do you go offline with a cable modem? ;) I'm guessing if I would have restart Netscape, it would have worked ok. It probably caches in RAM.
DNS caching on the desktop is evil. It's the first service I disable and stop on any Win2K, Win2K3 and XP machines. :)
Hi Ray, I know in mozilla there is a little icon down the bottom right corner of two connecting plug - clicking on this will take your browser offline - or the Work Offline item in the file menu. I suspect netscape is similar. ;)