[systemd-bugs] [Bug 90478] New: systemd-resolved: order of nameservers in dhcp lease is not respected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 16 04:47:48 PDT 2015


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

            Bug ID: 90478
           Summary: systemd-resolved: order of nameservers in dhcp lease
                    is not respected
           Product: systemd
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: dirocco.nico at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

Created attachment 115829
  --> https://bugs.freedesktop.org/attachment.cgi?id=115829&action=edit
tcpdump, resolv.conf and leases output

I have the router on my lan configured to provide "Domain-Name-Server Option 6"
with a list of dns servers to every client requesting a dhcp lease.

The dns servers are listed in order of preference. I am trying to achieve that
local dns server is the primary resolver for clients.

In the attached txt file you can see some output of tcpdump, /etc/resolv.conf
and /run/systemd/netif/leases/*.

In my example 192.168.178.70 is my local dns server and 212.54.44.54 is my
upstream dns server.

No matter in what order my dhcp server serves the name server list in dhcp
option 6 (see tcpdump output), systemd-networkd always puts the 212.54.44.54 on
top in /etc/resolv.conf.

I could not find any documentation describing this as expected behaviour.

-- 
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/20150516/1f8d12c8/attachment-0001.html>


More information about the systemd-bugs mailing list