How to set multiple nameservers in /etc/resolv.conf which sticks on reboot?
- by chrone
Ubuntu 14.04 Server edition only displays "nameserver 127.0.0.1" in "/etc/resolv.conf" on each reboot if the dns-nameservers in "/etc/network/interfaces" contains 127.0.0.1 and some other DNS such as Google Public DNS.
On /etc/network/interfaces I set as follows:
dns-nameservers 127.0.0.1 8.8.8.8
But after a reboot, /etc/resolv.conf gives me this:
nameserver 127.0.0.1
Shouldn't the "nameserver 8.8.8.8" listed in the /etc/resolv.conf too?
Thanks in advanced.