We’ve seen many times that the server takes records from its cache which aren’t the same as the real records or the globally updated records. In that scenario, we have to clear the cache on the server to get the new/updated records on the server.
NSCD (Name Service Cache Daemon) is a daemon that provides a cache for the most common name service requests.
To clear the cache, we need to restart the NSCD service as below :-
/etc/init.d/nscd restart
That’s it. This will flush the records from the cache and will enable the server to look out for the new records on getting a query.
]]>