Vladimir Sedach writes: > That is in fact what dhclient does. There is a list of workarounds on > Debian Wiki: > > https://wiki.debian.org/resolv.conf > > I use the file attribute one on my Debian system. > > The ideal solution is to re-implement dhclient in Guile, and make it > a configurable alternative to dhcp-client-service-type. That would be > a lot of work though.
Thank you for sharing that link. I tried the methods mentioned and the one that worked for me was to use `chattr +i /etc/resolv.conf`. Using this approach required me to stop having my system configuration manage the contents of `/etc/resolv.conf`.