9 Jan
2017
9 Jan
'17
18:10
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. Also, dnsmasq reads the hosts file and adds entries in it as if done by a dns server, with both direct and reverse resolution. Once I allow the local network, these are available to local machines with a simple /etc/hosts, easier than using bind with it complex syntax. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)