2
votes
2answers
1k views

How to flush local DNS cache in CentOS

(I am aware that googling this question gives me tons of stuff, but literally none worked) I'm looking for a way to flush the local DNS cache on a Centos 6 system, it is not running any DNS server or ...
2
votes
1answer
74 views

DNS cache for wget

I want wget to use a global DNS cache, not just in memory for the current instance. The wget manual mentions --no-dns-cache Turn off caching of DNS lookups. Normally, Wget remembers the IP ...
0
votes
0answers
243 views

How do I flush local DNS cache on my machine? [closed]

I've found that reloading the nscd service (/etc/init.d/nscd reload) should do this. However, I don't have a nscd file in my /etc/init.d directory, so how do I perform this?
6
votes
1answer
8k views

How to read the local DNS cache contents?

I know that on Windows I can issue ipconfig /displaydns and I see the local DNS's cache content. How can I list the DNS's cache content in Linux? I would like to get as much as cross-distro solution ...
5
votes
5answers
7k views

dns queries not using nscd for caching

I'm trying to use nscd (Nameservices Cache Daemon) to cache dns locally so I can stop using bind to do it. I've gotten it started and ntpd seems to attempt to use it. But everything else for hosts ...