Hi,

On Sat, Sep 12, 2026 at 02:25:30PM -0000, CGS wrote:
> Apparently, you can set 'negative-time-to-live hosts 0' in the nscd.conf
> file to disable caching of failed hosts lookup.

OK. I can see how that would help if you're using nscd and the resolver is 
giving back failures.

Do we know why Vincent's DNS resolver is returning SERVFAIL more than
expected?

Presumably in my case where I do use nscd and in my nsswitch.conf I have:

hosts: files dns

then my nscd is also going to cache failures from my DNS resolver. I'm
not sure I am bothered about that as I think I would rather fix the DNS
resolver in that case. On the other hand, the DNS resolver will itself
be caching failures, so perhaps I should be telling nscd to not also do
so…

Thanks.,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

Reply via email to