[Bug 1884522] Re: dhcp4-overrides - use-dns: false - ignored

Lukas Märdian 1884522 at bugs.launchpad.net
Mon Feb 10 09:21:44 UTC 2025


This is not implemented in the NetworkManager backend, so I'm tagging it
as an upstream Netplan feature request.

** Changed in: netplan
       Status: New => Triaged

** Changed in: netplan
   Importance: Undecided => Wishlist

** Changed in: netplan.io (Ubuntu)
       Status: Confirmed => Invalid

** Summary changed:

- dhcp4-overrides - use-dns: false - ignored
+ dhcp4-overrides - use-dns: false - missing on NetworkManager backend

** Summary changed:

- dhcp4-overrides - use-dns: false - missing on NetworkManager backend
+ dhcp4-overrides - use-dns - missing on NetworkManager backend

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1884522

Title:
  dhcp4-overrides - use-dns - missing on NetworkManager backend

Status in Netplan:
  Triaged
Status in netplan.io package in Ubuntu:
  Invalid

Bug description:
  I'm using

  ...

  network:
    version: 2
    renderer: NetworkManager

  ...

        dhcp4: yes
        dhcp4-overrides:
          use-dns: false
        dhcp6: no
        nameservers:
          addresses: addresses: [1.1.1.1,8.8.8.8,1.0.0.1,8.8.4.4]
  ...

  but after applying i get this dns

  200.42.xxx.xxx 200.49.xxx.xxx 1.1.1.1 8.8.8.8

  the first 2 are provided by the router DNS. Why?

  Also notice that Ubuntu ignores the use-dns: false graphically and check the option as automatic. If I turn OFF that, the DNS work just as intended.
  https://imgur.com/M710b2X

  This is what the actual DNS are set
  https://imgur.com/a4pjKqr

  TEMPORARY WORKAROUND
  use:

  network:
    version: 2
    renderer: networkd

  and work as intended

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1884522/+subscriptions




More information about the foundations-bugs mailing list