On 2017-01-09 19:35, Per Jessen wrote:
Carlos E. R. wrote:
On 2017-01-09 16:02, Per Jessen wrote:
Carlos E. R. wrote:
Usual (trivial) setting: use dnsmasq to cache dns searches for one machine only.
Just thinking out loud - isn't that what nscd does too? Every call to the resolver tries nscd first.
Well, apparently dnsmasq is more effective. Caches more entries and longer. Often I disable nscd.
Okay - whoever does the caching should adhere to the TTL from DNS, but I guess dnsmasq could be "more efficient". I never had any reason to play with it.
I always used bind as cache server (the default configuration) because it speedied things when using a modem. Dnsmasq is far easier to use. Whether this still happens with a fast Internet connection, I don't know. It would be interesting to have a comparison, and include nscd in the mix. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)