[Bug 1698023] [NEW] netplan does not allow a top-level 'nameservers' stanza

Steve Langasek steve.langasek at canonical.com
Wed Jun 14 23:48:52 UTC 2017


Public bug reported:

The netplan draft spec calls for 'nameservers' to be allowed as a top-
level stanza.  It is currently only implemented as a per-device
configuration.

While we've discussed that the nameserver addresses should really just
be associated with the interfaces which route to those addresses,
'nameservers' is also how you define the DNS search path as would be
included in /etc/resolv.conf.  A machine's DNS search path is not a
function of which interfaces are currently up, and needs to be globally
definable.

If we decide this is client configuration that's out of scope for
netplan, we should clarify the spec to not list 'nameservers' at the top
level.

If we decide that it is in scope, but that we still don't want to
support declaration of global nameservers just the search path, we
should fix this to be e.g. 'domain-search' at the top level.

** Affects: nplan (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  netplan does not allow a top-level 'nameservers' stanza

Status in nplan package in Ubuntu:
  New

Bug description:
  The netplan draft spec calls for 'nameservers' to be allowed as a top-
  level stanza.  It is currently only implemented as a per-device
  configuration.

  While we've discussed that the nameserver addresses should really just
  be associated with the interfaces which route to those addresses,
  'nameservers' is also how you define the DNS search path as would be
  included in /etc/resolv.conf.  A machine's DNS search path is not a
  function of which interfaces are currently up, and needs to be
  globally definable.

  If we decide this is client configuration that's out of scope for
  netplan, we should clarify the spec to not list 'nameservers' at the
  top level.

  If we decide that it is in scope, but that we still don't want to
  support declaration of global nameservers just the search path, we
  should fix this to be e.g. 'domain-search' at the top level.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1698023/+subscriptions



More information about the foundations-bugs mailing list