Skip to content

Instantly share code, notes, and snippets.

@natesilva
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natesilva/11409605 to your computer and use it in GitHub Desktop.
Save natesilva/11409605 to your computer and use it in GitHub Desktop.
Use Google DNS servers on a Linode Ubuntu instance

As a temporary workaround for Linode DNS problems, make your servers resolve using Google DNS. You must list Google’s DNS servers before Linode’s.

One way to do this in Ubuntu Linux is:

  1. Add the following line to /etc/dhcp/dhclient.conf:

    prepend domain-name-servers 8.8.8.8, 8.8.4.4;

  2. Reboot, or restart networking: sudo /etc/init.d/networking restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment