Local DNS Cache for Faster Browsing

The package we will be using for caching nameserver lookups is called dnsmasq. So first, install it using:

$ sudo apt-get install dnsmasq
  1. Go System -> Administration -> Networking
  2. Click the DNS tab
  3. Press the Add button and type and press enter
  4. Click on a different entry so that isn’t highlighted and then click and drag to the top of the list
  5. Press OK and you’re done! :-)
BTW, you might consider using opendns.com instead of your local ISP’s DNS.

Source: UbuntuBlog
*check out the source, because this tutorial in incomplete..