In order to speed up DNS lookups, I want to install a DNS cache or proxy.
I can see at least three programs I think will do the job: bind9, pdnsd, or dnsmasq.
I would like to make sure that if I install one of I do not leave it poorly configured from a performance or security point of view. So, what would people recommend, and are there any configuration changes I should immediately make after installing?
Best Answer
To do this follow this steps:
To Install Bind9
Update /etc/resolv.conf
It's done!
To test
Open gnome-terminal (Applications > Accessories > Terminal ) and type
(if you don't have it, install dnsutils package as explained to bind9)
Check the last answers, as an example:
My first query at ubuntu.com
My second query:
The server 127.0.0.1 means that you're resolving locally. Take a look in query time (surrounded by **) , the second one is cached.