1

As I mentioned in the title, ctrl+s doesn't permanently save the content of that file, if I rebooted my machine I lost all the configuration I did in there, an help, please.

1 Answers1

2

If you have # This file is managed by man:systemd-resolved(8). Do not edit., at the top of the file, then you can edit /etc/systemd/resolved.conf.

It's not the same syntax as /etc/resolv.conf, but man resolved.conf will help you.

Once the file is saved: sudo systemctl restart systemd-resolved

And check that the /etc/resolv.conf is updated.