nmcli

Tom H tomh0665 at gmail.com
Fri Feb 19 15:00:24 UTC 2021


On Fri, Feb 19, 2021 at 3:50 PM Jerry Geis <jerry.geis at gmail.com>
wrote:
>
> Ok - lets try this route.
> I created the /etc/systemd/resolved.conf.d directory
> made a file in there lsi.conf
> [Resolve]
> DNS=192.168.1.14
> I am actually using static address on this box and have an internal
> DNS of 192.168.1.14
> I then rebooted and my internal DNS still not being used.
> /etc/resolv.conf is still as it was - with nameserver 127.0.0.53
> Do I need to issue a command after creating the file ?

You can either run "systemctl restart systemd-resolved.service" or reboot.

You'll still have "127.0.0.53" in "/etc/resolv.conf".

You can check whether "192.168.1.14" is being used with "resolvectl".




More information about the ubuntu-users mailing list