Does anyone use nscd?
des at des.no
Wed Oct 5 08:39:55 UTC 2011
Lawrence Stewart <lstewart at freebsd.org> writes:
> If the machine running nscd loses connectivity with the DNS server for
> a while and does a DNS lookup during that time, nscd will cache the
> -ve reply indefinitely for all users, which breaks all sorts of
> crap. Have to forcibly run "nscd -I all" to fix. I will find and fix
> this bug one day if noone beats me to it...
Definitely a bug, nscd is only supposed to cache negative responses for
60 seconds. I hope you find the time to track it down :)
Is it 100% reproducable? How long does the DNS server have to be
unreachable before it happens?
> I'd like to see it stay in base. Moving it (slowly) towards a point
> where we can turn it on by default would be cool.
Agreed, in principle.
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers