Comment 74 for bug 1759014

Revision history for this message
Magesh GV (magesh-gv) wrote :

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;