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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 17 11:03:24 PST 2014


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

--- Comment #6 from Arno Schuring <aelschuring at hotmail.com> ---
(In reply to Lennart Poettering from comment #5)
>
> You need to install the dbus policy file for resolved as well, the binary
> alone won't be enough.

Thanks, that helps. With that change (copying
src/resolve/org.freedesktop.resolve1.conf to /etc/dbus/system.d/), the
-resolved from HEAD starts without issue, however it still doesn't write any
domain or search lists. It makes no difference which -networkd I use.

I'm not at home so I can't test the duplicate name servers issue, but I do
notice this:

$ grep ^DNS /run/systemd/netif/leases/* /etc/systemd/resolved.conf 
/run/systemd/netif/leases/4:DNS=10.52.0.10 10.0.0.23 10.0.0.17
/etc/systemd/resolved.conf:DNS=2a01:4f8:161:4109::6 2001:4ba0:cafe:383::1
$ cat /etc/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 10.0.0.23
nameserver 2001:4ba0:cafe:383::1
nameserver 10.0.0.17
# Too many DNS servers configured, the following entries may be ignored.
nameserver 2a01:4f8:161:4109::6
nameserver 10.52.0.10

That is, the current HEAD version reorders the nameserver list. It mixes
dhcp-provided resolvers with static ones, and it puts the local dns server
last, even though it was listed first in the dhcp answer.

-- 
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/20141117/9b035d48/attachment.html>


More information about the systemd-bugs mailing list