256
Logo

Clearing / Flushing the Windows DNS / Resolver Cache

Recently an associate was having some real problems with Outlook giving errors trying to contact his email server. It was giving an error message of something to the effect of "Enter Network Password" and other less than useful messages. It turns that the IP of the mail server, which had changed, had been cached by his box. Outlook express was therefore trying to contact the old mail server with the new password.

The following command performed at the Windows command prompt (Start -> Programs -> Accessories -> Command Prompt), flushed the resolve cache and took care of matters.

ipconfig /flushdns

This flushes the DNS cache on modern Windows 2000 or XP boxes (maybe older). You can also use the nslookup command to see what the DNS resolver is actually seeing.

Free Spam Protection   Eggnog Recipe   Android ORM   Simple Java Magic   JMX using HTTP   OAuth 2.0 Simple Example   Great Eggnog Recipe   Christopher Randolph