Handling resolv.conf on Ubuntu Server 14.04 LTS

NoOp 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
>    netmask
>    gateway
>    dns-nameservers
>    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 mailing list