John Andersen wrote:
On 1/4/2014 3:31 PM, Carlos E. R. wrote:
And it also seems that postfix doesn't use nscd, although a simple config change solves that; other apps also do not use nscd and they can't be made to use it, apparently. Thus disabling nscd and using dnsmasq as I do means that all queries would go to dnsmasq and the global hit ratio should increase.
That assumes that dnsmasq does not also have some built in way to go around it. (I really don't know).
There comes a point, especially in things like spamassassin that use DNS hits to evaluate spam hashes, where adding stuff to the cache is counter productive.
Somewhat OT, but spamassassin does not use the libc resolver, it does it's own asynchronous dns lookups. -- Per Jessen, Zürich (5.0°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org