Since Google decided to launch its own DNS service, we’ve dug into finding the fastest domain name server and knowing if yours failed. If you’re on a GNOME-based Linux system, you can also try any DNS service without router configuration.
Panji Nushantara details a small tweak you can make to your network settings in Ubuntu or any Linux system that uses the native Network Manager app:
Definitely take note of your working, non-altered settings before going forward. In most cases, you’ll have to re-connect to your router, but the new DNS settings should take effect, and you won’t have to head to 192.168.1.1 and mess around with the settings for every device in your home network.
How To Use Google Public DNS or OpenDNS in Ubuntu 9.10 [i am a ubuntu]