How to reset DNS cache in Linux

0
=
0
+
0
No specific Bitcoin Bounty has been announced by author. Still, anyone could send Bitcoin Tips to those who provide a good answer.
0

How to flush DNS cache in Linux? Similar to what you can do in Windows with this command:

ipconfig /flushdns

Thanks!

Tags: ,

2 answers

2
=
2
=
$0.55
2 tips with total amount of 0.79 mBTC($0.55 USD) have been sent by phpjaxtest4@qrid, Anonimous

Different Linux flavours may run different DNS daemons, like nscd or BIND or dnsmasq. Each may have its own way of flushing its cache. Usually DNS cache is being reset by simply restarting the corresponding daemon.

For example, here is how to flush DNS cache by restarting nscd in Redhat:

service nscd restart
SEND BITCOIN TIPS
0

Testing ....

SEND BITCOIN TIPS
User rating:

From anonim #1

from anon user #2

0

Too many commands? Learning new syntax?

FavScripts.com is a free tool to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.

Boost your productivity with FavScripts.com!

Post Answer