Inconsistent DNS configuration in manual settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity (Ubuntu) |
New
|
Low
|
Unassigned |
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=
resolv.conf mode: foreign
DNS Domain: lxd
Link 2 (ens3)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=
Current DNS Server: 2.3.4.5
DNS Servers: 1.2.3.4 2.3.4.5 9.8.7.6
Changed in subiquity (Ubuntu): | |
importance: | Undecided → Low |
Similar bug report that mentions duplicate search domains too: https:/ /bugs.launchpad .net/subiquity/ +bug/1998920