I daily need to connect to a VPN from my Ubuntu Desktop 20.04, and each time I do that I need to edit the resolv.conf file, since it is constantly updated by NetworkManager. Its content is reset to:
# Generated by NetworkManager
nameserver 127.0.0.53
So I manually need to add a new line to be able to connect. Any idea how to make the new line to be permanent, or generated by the NetworkManager ?
TIA
# This file is managed by man:systemd-resolved(8). Do not edit.
so the answer isman:systemd-resolved
– Rinzwind Nov 12 '20 at 20:56