Home » Linux

Flush DNS cache of Linux and Windows client

By: Zhiqiang Ma On: Jan 16, 2010 Views: 59 No Comment Print Email
Tags: , , ,

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

Read more:

Digg del.icio.us Stumble Techorati Facebook Newsvine Reddit Twitter
Mixx LinkedIn Google Bookmark Yahoo Bookmark MySpace LiveJournal Blogger RSS feed
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

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

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.