netplan dhcp domain search not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned |
Bug Description
This system is Ubuntu 18.04, using netplan configuration. In fact, it is a LXD container, if that matters at all.
With a simple netplan dhcp client configuration it does not set the domain search from the DHCP server. The DHCP server is configured correctly, I think, because all other clients setup their domain search as expected.
My netplan config is:
=======
network:
version: 2
renderer: networkd
ethernets:
eth0: {dhcp4: true}
=======
Output of systemd-resolve --status is as follows:
=======
...
Link 26 (eth0)
Current Scopes: DNS
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 172.16.16.39
DNS Domain: <mydomain1>
=======
That <mydomain1> is really my actual first search domain. There should be another one.
BTW. I'm suspecting that this one is related https:/ /bugs.launchpad .net/netplan/ +bug/1759014
Especially the UseDomains= setting, which is default false (why?)