Also for future reference I think upstream commit fb3aec45a0de7f71aa6418bd4f9d5f314efb4eb5 fixes this, but I never got a chance to test it before upgrading.
** Changed in: systemd (Ubuntu Focal) Status: New => Incomplete ** Changed in: systemd (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1950496 Title: networkd doesn't provide DNS to nspawn containers Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Focal: Incomplete Bug description: [impact] the host networkd doesn't include DNS info to nspawn containers [test case] create/start a nspawn container, e.g. with 'machinectl start', open a shell in the container, and check resolvectl to see if a nameserver was provided. [regression potential] failures in the host networkd, possibly affecting other host interfaces which are controlled by networkd, or (more likely) failure to provide dhcp to nspawn containers [scope] TBD To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1950496/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp