Netplan is not applying DNS configuration
This bug report will be marked for expiration in 31 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
This is happening on Ubuntu Jammy netplan version 0.106.1-
Netplan is not applying the DNS configuration.
I have the following configuration:
```
network:
version: 2
ethernets:
eth0:
match:
macaddress: 00:16:3e:27:ef:73
addresses:
- 192.168.2.140/24
gateway4: 192.168.2.1
nameservers:
search: [mydomain.com, maas]
addresses: [192.168.1.14, 192.168.2.10, 192.168.1.13, 192.168.1.11, 192.168.1.12]
```
After running `netplan apply` I don't have any dns configured.
Downgrading netplan to 0.105-0ubuntu2~
Hi,
is DNS the only thing that doesn't get applied?
Your configuration works fine for me in a Jammy VM in LXD.
Is this a container for any chance?