[Bug 1993193] Re: Inconsistent DNS configuration in manual settings
Michael Hudson-Doyle
1993193 at bugs.launchpad.net
Thu Jan 5 23:06:17 UTC 2023
A small part of what is going on here is that the UI presents a
different configuration model to what netplan exposes. Netplan doesn't
have the concept of "IPv4 configuration", it just has addresses (which
can be v4 or v6) and nameservers. Maybe it would make sense to move the
UI in that direction? So you'd just say "add address" and let the user
type either a ipv4 or ipv6 address. But changing the UI like this is a
slow process of course (on the third hand, if we want to use subiquity
views as a basis for "netplan edit" we should probably have the views
reflect netplans actual model...)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1993193
Title:
Inconsistent DNS configuration in manual settings
Status in subiquity package in Ubuntu:
New
Bug description:
when editing the IPv4 configuration of a given nic multiple times, the
`Name servers:` field gets reset (it's not pre-filled when the form
gets opened again).
In the meantime, systemd-resolved seems to keep the old values in
memory.
The `Gateway:" field also gets reset when opening the edit screen
multiple times (which is not ideal) but the output of `ip -4 route`
seems consistent.
Steps to reproduce:
1. On the network screen, choose one nic and do the following:
* Edit IPv4 (Manual) -> Name servers: 1.2.3.4 -> Save
* Edit IPv4 (Manual) -> Name servers: 2.3.4.5 -> Save
* Edit IPv4 (Manual) -> Name servers: 9.8.7.6 -> Save
each time the edit screen will be opened, the Name servers value will
be empty.
2. Run the resolvectl command and check the output:
$ resolvectl
Global
Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: foreign
DNS Domain: lxd
Link 2 (ens3)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 2.3.4.5
DNS Servers: 1.2.3.4 2.3.4.5 9.8.7.6
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1993193/+subscriptions
More information about the foundations-bugs
mailing list