
Originally Posted by
VMOS
I've just built a 12.04 server and when I open resolv.conf, it tells me
Did you install the server version of 12.04 or one of the desktop versions? As Charles says, I'm pretty sure the server version doesn't use the resolvconf/dnsmasq setup found on the desktop versions.
However the "official" method to add nameserver entries if your machine is using the resolvconf method is to add them into /etc/network/interfaces like this:
Code:
auto eth0
iface eth0 inet static
address 192.168.1.2
gateway 192.168.1.1
network 192.168.1.0
broadcast 192.168.1.255
dns-nameservers 8.8.8.8 8.8.4.4
Note the "s" at the end of "nameservers". You need to use "nameservers" even if you have only one.
Bookmarks