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>

Leave a Reply

Your email address will not be published. Required fields are marked *