Flush DNS Cache of Linux and Windows Client

By: Zhiqiang Ma In: Linux

We may need to flush DNS cache of our client when the site’s DNS has been changed.

For Linux:
1) Use su- to get root privilege or sudo with the following command:

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

or

# service nscd restart

For Windows XP:
1) Log in as a Administrator
2) “Start->run” then run “cmd.exe”.
3) At the command prompt run

ipconfig /flushdns

For Windows Vista:
1) “Start->All Programs->Accessories”
2) Right click on the command prompt and choose run as administrator.
3) At the command prompt run

ipconfig /flushdns
Author: Zhiqiang Ma Posted on: Jan 16, 2010 Views: 711
Tags: , ,
Like this post? Subscribe full-text feeds from all Fclose.com blogs:
Add your comments, share your thoughts

Be nice. Keep it clean. Stay on topic. No spam.