On 06/02/2021 20.24, Stakanov wrote:
In data sabato 6 febbraio 2021 20:18:13 CET, Carlos E.R. ha scritto:
On 06/02/2021 17.55, passiongnulinux@gmail.com wrote:
Le vendredi 05 février 2021 à 19:28 +0000, Brendan McKenna a écrit :
...
The manual page explains what it is:
nscd - name service cache daemon
And it does its job. There is a configured time during which it will store that name to address conversion, which means it has to query upstream when upstream says it is time out. It is doing its job.
If you don't like it, you can stop it permanently, but then internet (and other things) will be slower. Your choice.
Is nscd actually useful at all if he would use a caching server like unbound or dnsmasq? My understanding is that it would be only the case if he is using normal resolf.conf, am I mistaken? So he could in this case use a workaround to install / use such setup and stop nscd. Maybe not correct, please educate me if I am mistaken. Thanks.
I have never seen a canonical document that answers that question, or a post from somebody that actually knows. I don't know. However, the proper method to disable it is to disable the internet name cache part of dnsmaq, because it has others. /etc/nscd.conf enable-cache hosts no When enabled, queries to google.es take sometimes about 50 mS, and other times about 20 mS. When disabled, it is once 50, then seems always 20 (I have dnsmasq running). -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)