Avoid Network Manager to change /etc/resolv.conf on Ubuntu

By default, it links to ../run//resolvconf/resolv.conf

$ sudo rm /etc/resolv.conf

Create you own resolv.conf

$ sudo vi /etc/resolv.conf

nameserver 192.168.0.1

nameserver 192.168.0.2

search <your domain name>

Written on November 28, 2016