My system is set to go directly to the OpenDNS name servers for DNS resolution. However, the results I get from "nslookup" differ from what I get if I query the same name server from another machine with the same resolv.conf settings.
That leads me to believe that DNS info is being cached locally somewhere. I don't have bind or nscd installed.
Where is this caching taking place and how can I clear/flush it?
After a quick google it seems there is no "central" cache used anymore (previously nscd service maintained a central cache, but it is not installed by default). If this is installed at you, you may want to restart the relevant service
nscd.x86_64 : A Name Service Caching Daemon (nscd).
also if-down/if-up may clear the app specific caches
L:
On Tue 20 May 2014 04:50:39 PM CEST, Steven Stern wrote:
My system is set to go directly to the OpenDNS name servers for DNS resolution. However, the results I get from "nslookup" differ from what I get if I query the same name server from another machine with the same resolv.conf settings.
That leads me to believe that DNS info is being cached locally somewhere. I don't have bind or nscd installed.
Where is this caching taking place and how can I clear/flush it?
Pal, Laszlo (private) wrote:
After a quick google it seems there is no "central" cache used anymore (previously nscd service maintained a central cache, but it is not installed by default). If this is installed at you, you may want to restart the relevant service
nscd.x86_64 : A Name Service Caching Daemon (nscd).
also if-down/if-up may clear the app specific caches
fyi, if using nscd, restarting it does *not* clear its cache. You need to do something like: nscd --invalidate=hosts
-- Rex