LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2009, 07:56 AM   #1
k_oudom
Member
 
Registered: Aug 2009
Posts: 277

Rep: Reputation: 30
Flush DNS in CentOS


I use "ipconfig /flushdns" in Windows to flush DNS. I wonder what is the equivalent of this command in CentOS.
 
Old 12-20-2009, 07:58 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
To flush the DNS cache, restart the nscd daemon
or issue
Code:
nscd -i hosts

Last edited by repo; 12-20-2009 at 08:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how-to flush dns cache PlatinumRik Linux - Networking 6 07-27-2011 02:47 PM
Display and Flush DNS cache click Linux - Networking 7 11-10-2009 01:00 PM
DNS Centos 5 rungsun Red Hat 1 03-20-2008 11:52 PM
DNS Cache Flush not Working!!!! thaj Linux - Networking 0 11-21-2007 03:21 AM
Flush DNS HiOctane21 *BSD 2 05-15-2007 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration