[systemd-bugs] [Bug 85397] New: systemd-resolved: domain and search lines missing from resolv.conf

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 24 01:57:52 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85397

            Bug ID: 85397
           Summary: systemd-resolved: domain and search lines missing from
                    resolv.conf
           Product: systemd
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: aelschuring at hotmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

(forwarded from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766413)

It seems systemd-resolved (Debian version 215-5) is not writing any domain
suffixes into its resolv.conf file:

$ cat netif/leases/4:
# This is private data. Do not parse.
ADDRESS=172.22.15.58
NETMASK=255.255.255.0
ROUTER=172.22.15.5
SERVER_ADDRESS=172.22.15.5
NEXT_SERVER=0.0.0.0
DNS=172.22.21.5 172.22.21.7
NTP=172.22.21.5 172.22.21.19
DOMAINNAME=intra.loos.site
$ cat resolve/resolv.conf
# This file is managed by systemd-resolved(8). Do not edit.
#
# Third party programs must not access this file directly, but
# only through the symlink at /etc/resolv.conf. To manage
# resolv.conf(5) in a different way, replace the symlink by a
# static file or a different symlink.

nameserver 172.22.21.5
nameserver 172.22.21.7
nameserver 172.22.21.5
# Too many DNS servers configured, the following entries may be ignored
nameserver 172.22.21.7
nameserver 2a01:4f8:161:4109::6
nameserver 2001:4ba0:cafe:383::1
nameserver 2a00:1768:1005:1000:1000:1000:e621:4948

It also seems that systemd-networkd is not writing out any SEARCH directives
either, as my dhcpd.conf contains the following:
   option domain-name "intra.loos.site";
   option domain-search "loos.site";
I would have expected to see both domains present in the netif/leases file.
This works fine with both ISC's dhcp client and Busybox' udhcp.

Finally, it would be nice if resolved would notice duplicate nameservers on
separate interfaces (wireless and wired in my case) and not write them out
twice.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141024/3373577d/attachment.html>


More information about the systemd-bugs mailing list