Handling resolv.conf on Ubuntu Server 14.04 LTS
glgxg at sbcglobal.net
Tue Jun 17 01:21:29 UTC 2014
On 06/13/2014 10:03 PM, Niki Kovacs wrote:
> Now I wanted to do something similar on my Ubuntu server, so I figured
> this information would go in /etc/network/interfaces, like this:
> # eth0
> auto eth0
> iface eth0 inet static
> address 184.108.40.206
> netmask 255.255.255.0
> gateway 220.127.116.11
> dns-nameservers 127.0.0.1
> dns-search online.net
> And now what ? Invoking '/etc/init.d/networking restart' has no effect
> on the content of /etc/resolv.conf, which still keeps the old values.
> Do I really have to restart my whole server just to change my DNS
> resolver ? There must surely be another way.
(that reply is from the author of resolvconf).
More information about the ubuntu-users