Bug#840613: systemd-networkd 215-17+deb8u5 not honoring UseDomains or UseDomainName in DHCP-mode

bee GmbH | Pasqual Brettner p.brettner at bee.de
Thu Oct 13 10:13:55 BST 2016


Package: systemd
Version: 215-17+deb8u5

Dear Maintainer,

when i configure systemd-networkd to use DHCP, systemd-resolved does
not write domain or search line into its /run/systemd/resolve/resolv.conf.
The only thing in /run/systemd/resolve/resolv.conf is the banner to not touch the file
and one line "nameserver <ip>".

My /etc/systemd/network/eth0.network looks like this:
~# cat /etc/systemd/network/eth0.network
[Match]
Name=eth0

[Network]
DHCP=yes

[DHCP]
UseDomainName=true


I also tried using UseDomains in [DHCP]-Section as found per google, but this seems to be
not active in the version which is in the jessie repository. At least
systemd reports an unknown lvalue UseDomains in section [DHCP].
"/run/systemd/netif/leases/2" lists DOMAINNAME=my.domain.name as sent from
my DHCP but i can't figure out, how to make systemd-networkd or systemd-resolved
use it.

I already looked into the source of systemd 215-17+deb8u5 and only found
DHCPv4.UseDomainName
DHCP.UseDomainName


So my name resolution is not working when using systemd-networkd in DHCP mode.
Any suggestions?

This is critical to our deployment :(

I am using Debian GNU/Linux 8.5 with linux-image-4.6.0-0.bpo.1-amd64 (4.6.3-1~bpo8+1)



More information about the Pkg-systemd-maintainers mailing list