Date: Wed, 20 Jan 2021 09:48:53 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 252855] nscd(8) does not cache DNS Message-ID: <bug-252855-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252855 Bug ID: 252855 Summary: nscd(8) does not cache DNS Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: gcr@tharned.org With this configuration: $ fgrep hosts /etc/nsswitch.conf /etc/nscd.conf /etc/nsswitch.conf:hosts: cache files dns /etc/nscd.conf:enable-cache hosts yes /etc/nscd.conf:positive-time-to-live hosts 60 /etc/nscd.conf:positive-policy hosts lfu /etc/nscd.conf:negative-time-to-live hosts 60 /etc/nscd.conf:negative-policy hosts lfu /etc/nscd.conf:negative-confidence-threshold hosts 3 nscd does not seem to cache DNS answers. Testing with getaddrinfo(1), every query hits the wire, bound for the resolver defined in /etc/resolv.conf. I can't tell if this is a bug, or if I've misconfigured something. (Yes, ns= cd is enabled in rc.conf and running). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252855-227>