In this case I am not using Gnome or NetworkManager. There are no comment on the first line of `resolv.conf`. I am connecting to the internet using `wpa_supplicant` and `dhclient`.
p...@beadling.co.uk writes: > I found when using GuixSD with Gnome that the network manager would > periodically overwrite my DNS changes made directly to resolv.conf. > > If you experience this issue it should leave a comment on the first line. > > I was able to make it work by changing it through Gnome's Settings > GUI, rather than editing the file myself. Even then I have to disable > and re-enable the network interface for the new settings to take > effect. > > -----Original Message----- > From: Bone Baboon <bone.bab...@disroot.org> > To: help-guix@gnu.org > Sent: Fri, 02 Apr 2021 2:37 > Subject: Edits to `etc/resolv.conf` being overwritten > > Any suggestion on how to stop my edits of `etc/resolv.conf` from being > overwritten? > > `/etc/resolv.conf` is being overwritten removing changes I save to it. > My edits to `etc/resolv.conf` specify some name servers. Some time > after my edits are saved the file is completely rewritten to it's > original contents before I made my edits. The original contents include > nameserver, domain and search for my internet service provider's DNS.