Looking for a way to speed up recurring DNS lookups on my Ubuntu box. I found a reference to Local DNS Cache for Faster Browsing on Ubuntu Blog. Works like a champ. I like that dnsmasq allows me to configure the size of the cache easily. I don’t like that I had to chattr +i /etc/resolv.conf to make it immutable so that the system wouldn’t drop looking at 127.0.0.1 (localhost) first. I tried using the package resolvconf but it caused all lookups to fail. So I used apt-get again to remove it and stayed with just the dnsmasq package.
Ubuntu | View Commentsblog comments powered by Disqus