The fix for dns override for dhcp4 does not work with network manager.

Netplan Generated config:
[ipv4]
method=auto
dns=8.8.8.8;1.1.1.1

What is actually in /var/run/systemd/resolve/resolv.conf :
nameserver 192.168.1.254
nameserver 8.8.8.8
nameserver 1.1.1.1
search attlocal.net


Required fix for network manager:
The line "ignore-auto-dns=true" has to be added by netplan. I have verified 
that this generates the expected resolv.conf.

[ipv4]
method=auto
ignore-auto-dns=true
dns=8.8.8.8;1.1.1.1;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1759014

Title:
  Netplan has no way to control DHCP client

To manage notifications about this bug go to:
https://bugs.launchpad.net/baltix-default-settings/+bug/1759014/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to