Saturday, July 16

How to Clear/Flush DNS Cache in Linux/Windows/MAC OS

If a website newly registered in internet world, it may not be loaded in your computer.  For example, you register for example.com yesterday, still you may not see your web page. This is problem of DNS cache.  Your local DNS cache is old one so it won't know the newely available domain names.  Sometime you may update the NS records of your domain to point to new hosting service.

In these case you have to clear or flush cache in your computer.


How to Flush cache in Windows?

1.Open Command Prompt(Start->Run , type cmd and hit enter).
2.In command promt type

ipconfig /flushdns3.hit enter

Your DNS cache is cleared now, try to load your new website.

How to Clear Cache in Linux?
First of all you have to install nscd . (only 250kb).

Open terminal and type

sudo apt-get install nscd

Type this command to restart the DNS cache server in Linux:
sudo /etc/rc.d/init.d/nscd restart

How to Clear Cache in Mac Os?
Open the Terminal
Type the following command:

dscacheutil -flushcache

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...