netplan.io 0.96 systemd 240 It seems that dhcp6-overrides don't work for ignoring DHCP provided DNS servers :
# cat /etc/netplan/10-enp3s0-init.yaml network: version: 2 renderer: networkd ethernets: enp3s0: critical: true dhcp4: true dhcp4-overrides: use-dns: false dhcp6: true dhcp6-overrides: use-dns: false ipv6-privacy: true nameservers: search: [home] addresses: [1.0.0.1, 1.1.1.1] # resolvectl status enp3s0 Link 2 (enp3s0) Current Scopes: DNS DefaultRoute setting: yes LLMNR setting: yes MulticastDNS setting: no DNSOverTLS setting: opportunistic DNSSEC setting: yes DNSSEC supported: yes Current DNS Server: 1.0.0.1 DNS Servers: 1.0.0.1 1.1.1.1 fd50:a94:67b3:0:26a7:dcff:fe27:a60 <--- Why this DHCP6 server ? DNS Domain: home -- 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/netplan/+bug/1759014/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs