I could reproduce this trivially; a simple netplan config: network: version: 2 renderer: networkd ethernets: eth0: dhcp: yes
Will show that my domain "cyphermox.net" here is not passed from DHCP in networkd to resolved (and does not show in /run/systemd/resolve/stub- resolv.conf or resolv.conf), whereas if I switch the renderer to "NetworkManager", I can then see both ~. and "cyphermox.net" in search domains when running 'systemd-resolve --status'. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- 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/1846509 Title: networkd doesn't take into account search domain received by DHCP Status in systemd package in Ubuntu: Confirmed Bug description: Hi, When starting a virtual machine with the following command line : qemu-system-x86_64 -k fr -m 1024 -smp 1 -display none \ -rtc base=utc -daemonize \ -drive if=none,file="my.qcow2",id=hd0 \ -device virtio-blk,drive=hd0 \ -netdev user,id=user.0,hostfwd=tcp::32768-:22,dnssearch=dns.companyname.com \ -device virtio-net,netdev=user.0,mac=de:ad:de:01:02:03 \ -vga none The system-network doesn't take into account search domain and then search fail. The same setup does work when using NetworkManager. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1846509/+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