A Blog about technology, linux, peer2peer, cool new downloads and software development.

Saturday, May 31, 2008

Enabling dns cache on ubuntu

# apt-get install dnsmasq

Add 127.0.0.1 to the top of /etc/resolv.conf

# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 208.67.220.220
nameserver 208.67.222.222

To check that its working do:
$ dig google.com
$ dig google.com


Note - for machine with fixed IP

No comments: