CentOS5.3怎么清除DNS缓存

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS5.3怎么清除DNS缓存相关的知识,希望对你有一定的参考价值。

不是高手。共同探讨。
一般情况下在linix下,DNS客户端只负责转发和接受查询的功能,应该并不缓存。

可不可以理解nscd?默认是不启动的。
In Linux, the nscd daemon manages the DNS cache. To flush the DNS cache, restart the nscd daemon. To restart the nscd daemon, use the command `/etc/init.d/nscd restart`.

如果是浏览器的话
» Start your Firefox, enter “about:config” at the location bar and press enter. If you are using Firefox 3 then u’ll see a warning page, just click “I’ll be careful, i promise” button.
» U’ll see a lot of record, just right click at the blank place and select “New” -> “Integer”
» Enter “network.dnsCacheExpiration” as the preference name and “0″ as the integer value
» Right click and select “New” -> “Integer” again
» This time enter “network.dnsCacheEntries” as preference name and “0″ as integer value
» Done, you just disable the firefox dns cache

其他的共同探讨
参考技术A yum -y install bind-utils
rndc flush

以上是关于CentOS5.3怎么清除DNS缓存的主要内容,如果未能解决你的问题,请参考以下文章

DNS缓存攻击怎么解决?!

DNS缓存失败怎么解决?

如何清除linux下DNS缓存

ipconfig出现很多IP地址,怎么清楚缓存地址

linux中缓存怎样清除

如何清理dns缓存