Google has recently released their very own DNS resolver with main goals of making web browsing faster and safer. Since Google’s search engine already crawls the web on a daily basis and in the process resolves and caches DNS information, they wanted to make use of their technology to experiment with new ways of addressing some of the existing DNS challenges around performance and security.
As I’ve said on my older post about OpenDNS, that replacing your ISP’s slow DNS server with a third party DNS resolution service will help speed up your Internet connection. So if you are already using OpenDNS right now and are pleased with it, why not try Google Public DNS.
Setting up Google Public DNS on Ubuntu is quick and straightforward.
Then, input these nameserver addresses as your ‘DNS Servers’: 188.8.131.52, 184.108.40.206.
Click “Ok” and you are done.
For advanced users, you can set up Google Public DNS by editing /etc/resolv.conf:
$ sudo gedit /etc/resolv.conf
Find and replace the nameserver lines with, or add, the following lines:
nameserver 220.127.116.11 nameserver 18.104.22.168
Save, and then exit. Restart your internet connection and test your new settings.