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?
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?
- Open Command Prompt(Start->Run , type cmd and hit enter).
- In command promt type
- ipconfig /flushdns
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:
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
No comments :
Post a Comment