Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 4
    Would it make sense to flush the cache if one needs to first install nscd? Isn't nscd required for DNS caching? Or is it only needed for flushing it? Commented Aug 20, 2017 at 16:11
  • Not true at all: you do not need nscd to have DNS caching feature. Installing a DNS resolver is enough to have DNS caching. Commented Aug 20, 2017 at 22:04
  • 2
    The libc stub resolver does not cache. If nscd is installed and configured to cache DNS requests, its DNS cache can be invalidated by nscd -i hosts. Installing it definitely won't help with avoiding caching. BTW nscd is rather unstable, I recommend unscd instead of it anyway, which has the same interface. Commented Aug 22, 2017 at 7:45
  • 1
    The install failed in my Debian 10 VM due to lack of DNS. Rebooting the host (Windows 10) fixed it, but then i didn't need nscd anymore. Commented Jun 9, 2021 at 13:01