Public bug reported: When using networkd as renderer for netplan the nameserver gets set via DHCP but the search list is not picked up. This did work with ifupdown:
ubuntu@bar-zesty6401:~$ cat /etc/network/interfaces ... # The primary network interface auto eth0 iface eth0 inet dhcp ubuntu@bar-zesty6401:~$ cat /etc/resolv.conf ... nameserver 192.168.2.1 nameserver 127.0.0.53 search smbhome.net ubuntu@bar-artful6401:~$ cat /etc/netplan/01-netcfg.yaml # This file describes the network interfaces available on your system # For more information, see netplan(5). network: version: 2 renderer: networkd ethernets: eth0: dhcp4: yes ubuntu@bar-artful6401:~$ networkctl status eth0 ● 2: eth0 Link File: /lib/systemd/network/99-default.link Network File: /run/systemd/network/10-netplan-eth0.network Type: ether State: routable (configured) Path: xen-vif-0 Driver: vif HW Address: 00:16:3e:71:31:57 (Xensource, Inc.) Address: 192.168.2.159 fe80::216:3eff:fe71:3157 Gateway: 192.168.2.1 (PC Engines GmbH) DNS: 192.168.2.1 ** Affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1703882 Title: systemd-networkd does not pick up dns-search from DHCP To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1703882/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs