On Fri, Jun 05, 2015 at 09:45:28PM +0200, Michael Biebl wrote: > Am 04.06.2015 um 16:02 schrieb Marc Haber: > > The documentation in resolved.conf(5) suggests that the compiled-in > > list does only apply if there is no other definition of DNS-Servers. > > This is not the case here, and the fact that systemd-resolved takes > > the definition from /etc/systemd/network/int181.network shows that it > > knows that there is another definition. > > For completeness sake, can you please also attach your > /etc/systemd/network/* config files and your /etc/systemd/resolved.conf > (assuming it differs from the default config)
It's a most simple setup. [1/75]mh@ronde:~$ cat /etc/systemd/network/ronde.network [Match] Name=eth0 [Network] Address=192.168.181.14/24 Gateway=192.168.181.254 DNS=192.168.181.12 [2/76]mh@ronde:~$ cat /etc/systemd/resolved.conf # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # See resolved.conf(5) for details [Resolve] #DNS=8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844 [3/77]mh@ronde:~$ sudo systemctl enable systemd-resolved [sudo] password for mh on ronde: Created symlink from /etc/systemd/system/multi-user.target.wants/systemd-resolved.service to /lib/systemd/system/systemd-resolved.service. [4/78]mh@ronde:~$ ls -al /etc/systemd/network/ total 12K drwxr-xr-x 2 root root 4.0K Jun 1 22:34 ./ drwxr-xr-x 6 root root 4.0K Apr 27 16:13 ../ -rw-r--r-- 1 root root 98 Jun 1 22:34 ronde.network [5/79]mh@ronde:~$ sudo systemctl start systemd-resolved [6/80]mh@ronde:~$ cat /run/systemd/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 192.168.181.12 nameserver 8.8.8.8 nameserver 8.8.4.4 # Too many DNS servers configured, the following entries may be ignored nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844 [7/81]mh@ronde:~$ (a test system, took me like two minutes to reproduce) Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org