Configure Static DNS Entries in Ubuntu

Here is quick tip to configure custom DNS services like OpenDNS and Google Public DNS servers on gnu/Linux. Using custom DNS services offers performance benefits and enhanced security.

Append add 'dns-nameservers' to your /etc/network/interfaces file. This over-rides the DNS servers assigned by the DHCP service.


dns-nameservers  208.67.222.222 208.67.220.220

Happy Browsing!

No comments:

Post a Comment

You can leave a comment here using your Google account, OpenID or as an anonymous user.