Thursday, 7 January 2010

Flushing the DNS cache

I've had one or two run-ins with unforeseen DNS caching. Today it reared its ugly head again when I moved a site I'm building to a new URL.

To clear the DNS cache on a windows machine, run this from the command prompt:
ipconfig /flushdns
On Vista, you'll have to launch the command prompt by right-clicking and selecting 'Run as Administrator'.

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!