Re: Networking without any network manager
Reply #6 –
I've no experience with openresolv or dhclient.
You'd have to read the dhclient docs.
But if nothing leaps out you could try chattr +i /etc/resolv.conf
(makes the file immutable) dhclient may complain or fail though. Or use dhcpd where I know you can set an DNS server.
If you do set it immutable don't forget or you'll give yourself a headache if you want to edit it in the future. You'd need to use -i before you could edit or delete.