How To Flush DNS Cache


Sometimes there is an issue with your DNS resolvers caching the domain name to IP mapping. When your trying to go to the domain it’s actually pulling up an old IP address instead of looking for a new one and finding the correct record.

So, to expedite this very common problem of cached DNS, please do the following steps.

Microsoft Windows XP

Go to the Start menu,
choose Run, type cmd and hit OK.

When the black screen appears, type the following command and hit enter.

Then type this command and hit enter.
ipconfig /flushdns

Restart your application (e.g. browser or email).

Microsoft Windows Vista and Windows 7

Click the Start orb and follow All Programs > Accessories, look for Command Prompt. Be sure to right click on Command Prompt and choose “Run as Administrator”. When the black screen appears, type the following command and hit enter.

Then type this command and hit enter.

ipconfig /flushdns

Restart your application (e.g. browser or email).

Mac OSX

Navigate to your Applications folder, open Utilities, and double click on Terminal. Type the following command and hit enter.

dscacheutil -flushcache

Then type this command and hit enter.

lookupd -flushcache

Don’t worry if either command says something like “Not found”.

Restart your application (e.g. browser or email).

Linux

Open up a terminal window (ctrl T in gnome). Type the following command and hit enter.

/etc/init.d/nscd restart

Restart your application (e.g. browser or email).

Related Posts:

  • No Related Posts Yet!
About Roy

Roy C.C. is a Passionate Internet Marketer, A web developer and an SEO Consultant. He started his career in freelance consultancy since 2005.

Comments

  1. It’s very irritating while it shows IP address inplace of domain name.

    Nice post. Thanks for sharing

Speak Your Mind

*


Home | Anti-Spam Policy | Privacy Policy | Disclaimer Policy | Disclosure Policy | Refund Policy
Social Media: FaceBook | Twitter | Google Plus