Deru Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

How to clear DNS Cache

Add comment
Views: 2058
Votes: 0
Comments: 0
Posted: 21 Mar, 2010
by: Joseph S.
Updated: 17 Jul, 2012
by: Joseph S.
Most of the DNS clients cache the results of name resolution requests (ie. The DNS clients will temporarily store the website names you visited recently. )This process speeds up name resolution if multiple lookups are done to the same address.

Sometimes you may need to flush or clear the cache in DNS clients to get the proper result.
You can use the following steps to clear the cache in DNS client.

Windows
Run the following in your command prompt. (ie. Start -> Run  and then type cmd to get the command prompt)
ipconfig /displaydns

To clear your cache, type in the following:
ipconfig /flushdns


Linux

The nscd daemon restart will clear the DNS cache:
/etc/rc.d/init.d/nscd restart


 Mac OS X Leopard

Run the following command in terminal:
dscacheutil -flushcache

 Mac OS X (Tiger)
Run the following command in terminal:
lookupd -flushcache

This will clear the DNS cache in you local machine.
Others in this Category
document Unix and windows text file formats
document How to find uptime of a windows/Linux server ?
document Delete files/folder having special characters in their name
document rpmdb: Lock table is out of available locker entries ?
document Set up an SSH tunnel for webmail access using putty.
document SSH Port Forwarding (SSH tunneling ) in Linux machines.
document Use "find" comand to find files by time stamp
document Album access issue in Gallery
document How to install APC (Alternative PHP Cache)
document Steps to clear Browser cache
document How to change the hostname of a Linux system
document Upgrade from PHP4 to PHP5: Backward Incompatible Changes
document How to reset mysql root password in the server?
document Website creation and site management via Webmin/Virtualmin
document Contact Email Address for your website
document Using traceroute command
document How to migrate a mysql user to another server?
document How to create virtual server Alias in Virtualmin?
document How can we create sub domains via Virtualmin?
document How to configure email filters via cPanel?
document How ot redirect URLs via cPanel?
document How to deny an IP address via cPanel?
document How to change MySql database password via cpanel?
document How to change MySQL User Password?
document How to enable remote Mysql access from cPanel?
document Linux commands to check the hardware details.



RSS