I tried following this guide from Rackspace, but the /etc/resolv.conf
file that needs editing looks like this, with a very interesting warning:
cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
I got the Google DNS settings from here, but I don't know what to do.
Do I populate the "Search Domains" field with Google's DNS data, or where should I put it?
In your picture, there's a field called DNS Servers.
In that text field, replace anything that already exists with this:
If you have IPv6, use this instead:
Both Google's IPv4 and IPv6 addresses have records for both IPv4 and IPv6, so it's a good idea to fall back to the IPv4-only record, because you don't lose anything. You should not use only the IPv6 records, because you lose the ability to fall back to IPv4 if something goes wrong.
As for search domain, if you don't know what to put there, you don't need to set it. If you're on a corporate network, ask your sysadmin.
Hit Save and the new DNS settings will take effect.