Either /etc/resolv.conf gets populated with DNS info via NetworkManager (no idea where if not in /etc/NetworkManager/) or via your DHCP client if you use dhclient or equivalent. In case of the latter you could tweak things yourself manually, automagically updating settings probably are better, creating or adding relevant lines to /etc/dhclient-eth0.conf:
Code:
interface "eth0" {
supersede domain-name-servers 8.8.8.8, 8.8.4.4, 208.67.222.222, 208.67.220.220, 4.2.2.1, 4.2.2.2;
}
and restart networking. Note the IP addresses above are just for the example. Even though they work from about everywhere there's no special need to use Google, OpenDNS and Level 3 name servers.