Ubuntu 14.04 Persistent resolv.conf

My manual edits of /etc/reslov.conf weren’t persisting through reboots.

resolvconf overwrites it each time … sad panda

To force static nameservers, I did this:

root@mikrojenkins:/home/colin# echo -e ‘nameserver 192.168.254.64\nnameserver 8.8.8.8’>>/etc/resolvconf/resolv.conf.d/head
root@mikrojenkins:/home/colin# resolvconf -u

Leave a Reply

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