Featured Post

PHP Hosting:Features of Fantastico

Fantastico is one of the most useful features of cPanel control panel. It comes absolutely free with this very powerful web hosting control panel. Most webmasters opt for cPanel due to this tool. There are various useful functions that comes with Fantastico. The most important feature that attracts the...

Read More

How to flush DNS cache for Windows, Linux or Mac ?

Posted by admin | Posted in Business Web Hosting | Posted on 16-11-2010

Tags: , , , , ,

0

Many a times it may happen that a bad DNS entry would get cached and it becomes essential to either flush (or clear) the DNS cache to bring things back to normal, or simply hold on until twenty four hours to get dropped from the cache on its own. Instead, there is a way to forcible flush it out from the system.

Here is how you do that :

For Windows users
In the command prompt you must type the command “ipconfig /flushdns” to flush the DNS resolver cache.

C:\ipconfig /flushdns

For Mac OSX


In Mac OSX, you need to type the command “dscachetil -flushcache” for flushing the DNS resolver cache.

bash-2.05a$ dscacheutil -flushcache

For Unix and Linux versions/editions


For Linux, the nscd daemon is responsible for managing the DNS cache. For flushing the DNS cache, you simply need to restart the nscd daemon.
For restarting the nscd daemon, use the command

/etc/rc.d/init.d/nscd restart

Most web hosts offering Virtual Private Server, Cloud Hosting and other Web Hosting UK services would allow you the privileges to flush DNS.

More Resources :

GD Star Rating
loading...