nmcli

Tom H tomh0665 at gmail.com
Fri Feb 19 14:05:59 UTC 2021


On Fri, Feb 19, 2021 at 2:58 PM Jerry Geis <jerry.geis at gmail.com>
wrote:
>
> Your correct the file is a symbolic link.
> I am trying to use nmcli to set the DNS - but /etc/resolv.conf is
> not updated. I'm trying to find out how to update the file. It
> always says:
>
> nameserver 127.0.0.53
> options edns0 trust-ad

This is what it's supposed to say because this is
"/run/systemd/resolve/stub-resolv.conf".

You'll know what dns server you're querying either by running
"resolvectl" or by running "cat /run/systemd/resolve/resolv.conf" (but
don't change your symlink to the latter unless you want to use
"resolved" simply as you'd use "resolvconf").




More information about the ubuntu-users mailing list