LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Flush DNS in CentOS (https://www.linuxquestions.org/questions/linux-networking-3/flush-dns-in-centos-777037/)

k_oudom 12-20-2009 07:56 AM

Flush DNS in CentOS
 
I use "ipconfig /flushdns" in Windows to flush DNS. I wonder what is the equivalent of this command in CentOS.

repo 12-20-2009 07:58 AM

To flush the DNS cache, restart the nscd daemon
or issue
Code:

nscd -i hosts


All times are GMT -5. The time now is 06:25 PM.