Local dns cache with dnsmasq

local cache for faster internet browsing.

#apt-get install dnsmasq

in /etc/dnsmasq.conf


in /etc/dhcp3/dhclient.conf

prepend domain-name-server;

in /etc/resolv.conf


The last thing you need to do

#/etc/init.d/dnsmasq restart
#/etc/init.d/networking restart

Another interesting package that does the same thing is pdnsd. The best thing about pdnsd is, it saves the dns cache in disk which is still available even after you reboot.

More info on dnsmasq

pdnsd info
How to setup pdnsd


Published by


Different. In a good way

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s