** Changed in: systemd (Ubuntu)
       Status: Fix Committed => 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/1703882

Title:
  systemd-networkd does not pick up dns-search from DHCP

Status in systemd package in Ubuntu:
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1703882/+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

Reply via email to