Question on nmcli on Ubuntu 20.04

Jerry Geis jerry.geis at gmail.com
Fri Dec 18 16:47:34 UTC 2020


I am using this command:
nmcli connection modify 'Wired connection 1' ipv4.method manual ipv6.method
ignore autoconnect yes ipv4.addr 192.168.1.19/22 gw4 192.168.1.1 ipv4.dns
192.168.1.14

to set static address and the DNS. everything seems to work except setting
the DNS.
The /etc/resolv.conf file still shows 127.0.0.53 and not the 192.168.1.14

Why is that ? What did I not do correctly ?

Thanks

jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20201218/0c8e1d1a/attachment.html>


More information about the ubuntu-users mailing list