use-dns doesn't work with NetworkManager: network: version: 2 renderer: NetworkManager wifis: wlan0: optional: true dhcp4: true dhcp4-overrides: use-dns: no use-routes: false nameservers: addresses: [192.168.77.1] access-points: "s-mobile": password: "SecretPassword" ethernets: eth0: dhcp4: no dhcp6: no enx00e04c680695: optional: true dhcp4: no dhcp6: no bridges: br0: dhcp4: true dhcp6: false dhcp4-overrides: use-dns: no nameservers: addresses: [127.0.0.1] interfaces: - eth0
cat /etc/resolv.conf # Generated by NetworkManager search secret.edu nameserver 172.16.0.32 nameserver 172.16.0.57 nameserver 127.0.0.1 # NOTE: the libc resolver may not support more than 3 nameservers. # The nameservers listed below may not be recognized. nameserver 192.168.77.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