Clear DNS Cache in Linux

Previously I have posted how to clear DNS cache in Windows, now I thought of writing the same but for Linux. So here’s how you can clear your DNS Cache in Linux. This is specific for Redhat Linux. I don’t know if it will work on other Linux or not. Please tell your experiences. Issue the following command:
/etc/rc.d/init.d/nscd restart
Restarting nscd will flush your Linux DNS cache.


Posted

in

by

Comments

2 responses to “Clear DNS Cache in Linux”

  1. NoPremium.org

    it dont work for me i have ubunu 7.10

  2. Laurie Bradshaw

    lihjr8pecg966i9m