preserve resolve.conf

If dhcpd is overwriting your resolve.conf file the best is to add this to the configuration in /etc/dhcpcd.conf
nohook resolv.conf

or write-protect it:
chattr +i /etc/resolv.conf

Leave a Reply