Hi, I hope this was not a private message ...
I do not want to lose this. but I still need a text proposal for D-R. I am just using default network setting these days. I guess Mike's message (its highlight quoted) is the hint for me. | Oh, this is not going to work, you can't have both ifupdown and | systemd-networkd manage the same interface. Very true. Actually it's true even before systemd... (with wicd/N-M) | As for your problem: The nameserver entries are handled by | systemd-resolved. You need to enabled that service and systemd-networkd | will push the DNS information to resolved. resolved then will write | /run/systemd/resolve/resolv.conf which you need to symlink to | /etc/resolv.conf | | I suggest you read the following man pages: | man systemd-resolved | man resolved.conf | man systemd-networkd ===FULL QUOTE === On Mon, Jun 22, 2015 at 03:11:31PM +0200, Andreas Glaeser wrote: > > On Sun, Jun 14, 2015 at 06:13:25AM +0200, Andreas Glaeser wrote: > > > Package: debian-reference > > > Version: 2.58 > > > Severity: minor > > > > > > Dear Maintainer, > > > > > > There is no hint about systemd: ... > > From: [email protected] (Debian Bug Tracking System) > > To: Andreas Glaeser <[email protected]> > > Subject: Bug#788670 closed by Michael Biebl <[email protected]> (Re: > > Bug#788670: > > systemd: resolved ignores DNS-entry in /etc/systemd/network/ and > > in /etc/network/interfaces) Date: Sun, 14 Jun 2015 08:51:07 +0000 Reply-To: > > [email protected] X-Mailer: MIME-tools 5.505 (Entity 5.505) > > > > This is an automatic notification regarding your Bug report > > which was filed against the systemd package: > > > > #788670: systemd: resolved ignores DNS-entry in /etc/systemd/network/ and > > in /etc/network/interfaces > > > > It has been closed by Michael Biebl <[email protected]>. > > > > Their explanation is attached below along with your original report. > > If this explanation is unsatisfactory and you have not received a > > better one in a separate message then please contact Michael Biebl > > <[email protected]> by > > replying to this email. > > > > > > -- > > 788670: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788670 > > Debian Bug Tracking System > > Contact [email protected] with problems > > > > From: Michael Biebl <[email protected]> > > To: Andreas Glaeser <[email protected]>, > > [email protected] > > Subject: Re: Bug#788670: systemd: resolved ignores DNS-entry in > > /etc/systemd/network/ > > and in /etc/network/interfaces Date: Sun, 14 Jun 2015 10:49:21 +0200 > > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 > > Thunderbird/38.0.1 > > > > Am 14.06.2015 um 05:57 schrieb Andreas Glaeser: > > > Package: systemd > > > Version: 215-17+deb8u1 > > > Severity: minor > > > > > > Dear Maintainer, > > > > > > I tried to set a different dns-resolver than the default gateway, but > > > failed: > > > > > >> root@s55:/home/andrew# cat /etc/systemd/network/dns.network > > >> [MATCH] > > >> Name=eth1 > > >> HOST=s55 > > > > > >> [NETWORK] > > >> DNS=192.168.0.108 > > >> root@s55:/home/andrew# ifconfig > > >> eth1 Link encap:Ethernet HWaddr 00:19:99:60:9d:e1 > > >> inet addr:192.168.0.60 Bcast:192.168.0.255 Mask:255.255.255.0 > > >> inet6 addr: fd00:bc14:17f:f212:219:99ff:fe60:9de1/64 > > >> Scope:Global > > >> inet6 addr: 2a02:8109:9ac0:2354:219:99ff:fe60:9de1/64 > > >> Scope:Global > > >> inet6 addr: fe80::219:99ff:fe60:9de1/64 Scope:Link > > >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > >> RX packets:10441 errors:0 dropped:0 overruns:0 frame:0 > > >> TX packets:3623 errors:0 dropped:0 overruns:0 carrier:0 > > >> collisions:0 txqueuelen:1000 > > >> RX bytes:12507078 (11.9 MiB) TX bytes:390711 (381.5 KiB) > > > > > >> lo Link encap:Local Loopback > > >> inet addr:127.0.0.1 Mask:255.0.0.0 > > >> inet6 addr: ::1/128 Scope:Host > > >> UP LOOPBACK RUNNING MTU:65536 Metric:1 > > >> RX packets:2131 errors:0 dropped:0 overruns:0 frame:0 > > >> TX packets:2131 errors:0 dropped:0 overruns:0 carrier:0 > > >> collisions:0 txqueuelen:0 > > >> RX bytes:378311 (369.4 KiB) TX bytes:378311 (369.4 KiB) > > > > > >> root@s55:/home/andrew# cat /etc/network/interfaces > > >> # This file describes the network interfaces available on your system > > >> # and how to activate them. For more information, see interfaces(5). > > > > > >> # The loopback network interface > > >> auto lo > > > > > >> iface lo inet loopback > > > > > >> # The primary network interface > > > > > >> auto eth1 > > > > > >> allow-hotplug eth1 > > > > > >> #iface eth0 inet manual > > > > > >> iface eth1 inet static > > >> address 192.168.0.60 > > >> netmask 255.255.255.0 > > >> gateway 192.168.0.1 > > >> # dns-nameservers 192.168.0.108 #handled by systemd > > > > > > > Oh, this is not going to work, you can't have both ifupdown and > > systemd-networkd manage the same interface. > > As for your problem: The nameserver entries are handled by > > systemd-resolved. You need to enabled that service and systemd-networkd > > will push the DNS information to resolved. resolved then will write > > /run/systemd/resolve/resolv.conf which you need to symlink to > > /etc/resolv.conf > > > > I suggest you read the following man pages: > > man systemd-resolved > > man resolved.conf > > man systemd-networkd > > > > Closing, this is simply a misconfiguration issue. > > > > > > -- > > Why is it that all of the instruments seeking intelligent life in the > > universe are pointed away from Earth? > > > > > > [signature.asc application/pgp-signature (819 bytes)] > > > > From: Andreas Glaeser <[email protected]> > > To: [email protected] > > Subject: systemd: resolved ignores DNS-entry in /etc/systemd/network/ and > > in /etc/network/interfaces Date: Sun, 14 Jun 2015 05:57:27 +0200 > > X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Package: systemd > > Version: 215-17+deb8u1 > > Severity: minor > > > > Dear Maintainer, > > > > I tried to set a different dns-resolver than the default gateway, but > > failed: > > > > > root@s55:/home/andrew# cat /etc/systemd/network/dns.network > > > [MATCH] > > > Name=eth1 > > > HOST=s55 > > > > > > [NETWORK] > > > DNS=192.168.0.108 > > > root@s55:/home/andrew# ifconfig > > > eth1 Link encap:Ethernet HWaddr 00:19:99:60:9d:e1 > > > inet addr:192.168.0.60 Bcast:192.168.0.255 Mask:255.255.255.0 > > > inet6 addr: fd00:bc14:17f:f212:219:99ff:fe60:9de1/64 > > > Scope:Global > > > inet6 addr: 2a02:8109:9ac0:2354:219:99ff:fe60:9de1/64 > > > Scope:Global > > > inet6 addr: fe80::219:99ff:fe60:9de1/64 Scope:Link > > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > > RX packets:10441 errors:0 dropped:0 overruns:0 frame:0 > > > TX packets:3623 errors:0 dropped:0 overruns:0 carrier:0 > > > collisions:0 txqueuelen:1000 > > > RX bytes:12507078 (11.9 MiB) TX bytes:390711 (381.5 KiB) > > > > > > lo Link encap:Local Loopback > > > inet addr:127.0.0.1 Mask:255.0.0.0 > > > inet6 addr: ::1/128 Scope:Host > > > UP LOOPBACK RUNNING MTU:65536 Metric:1 > > > RX packets:2131 errors:0 dropped:0 overruns:0 frame:0 > > > TX packets:2131 errors:0 dropped:0 overruns:0 carrier:0 > > > collisions:0 txqueuelen:0 > > > RX bytes:378311 (369.4 KiB) TX bytes:378311 (369.4 KiB) > > > > > > root@s55:/home/andrew# cat /etc/network/interfaces > > > # This file describes the network interfaces available on your system > > > # and how to activate them. For more information, see interfaces(5). > > > > > > # The loopback network interface > > > auto lo > > > > > > iface lo inet loopback > > > > > > # The primary network interface > > > > > > auto eth1 > > > > > > allow-hotplug eth1 > > > > > > #iface eth0 inet manual > > > > > > iface eth1 inet static > > > address 192.168.0.60 > > > netmask 255.255.255.0 > > > gateway 192.168.0.1 > > > # dns-nameservers 192.168.0.108 #handled by systemd > > > > > > # > > > #auto eth2 > > > # > > > #allow-hoplug eth2 > > > # > > > #iface eth2 inet dhcp > > > # netmask 255.255.255.0 > > > # gateway 192.168.0.1 > > > # > > > > > > root@s55:/home/andrew# cat /etc/resolv.conf > > > nameserver 2a02:8109:9ac0:2354::1 > > > > That's still the IP6-representation of the default gateway. > > This really should be configurable. > > > > > > - - -- Package-specific info: > > > > - - -- System Information: > > Debian Release: 8.1 > > APT prefers stable-updates > > APT policy: (500, 'stable-updates'), (500, 'stable') > > Architecture: amd64 (x86_64) > > > > Kernel: Linux 3.16.7-ckt11-aedl (SMP w/2 CPU cores; PREEMPT) > > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) > > Shell: /bin/sh linked to /bin/dash > > Init: systemd (via /run/systemd/system) > > > > Versions of packages systemd depends on: > > ii acl 2.2.52-2 > > ii adduser 3.113+nmu3 > > ii initscripts 2.88dsf-59 > > ii libacl1 2.2.52-2 > > ii libaudit1 1:2.4-1+b1 > > ii libblkid1 2.25.2-6 > > ii libc6 2.19-18 > > ii libcap2 1:2.24-8 > > ii libcap2-bin 1:2.24-8 > > ii libcryptsetup4 2:1.6.6-5 > > ii libgcrypt20 1.6.3-2 > > ii libkmod2 18-3 > > ii liblzma5 5.1.1alpha+20120614-2+b3 > > ii libpam0g 1.1.8-3.1 > > ii libselinux1 2.3-2 > > ii libsystemd0 215-17+deb8u1 > > ii mount 2.25.2-6 > > ii sysv-rc 2.88dsf-59 > > ii udev 215-17+deb8u1 > > ii util-linux 2.25.2-6 > > > > Versions of packages systemd recommends: > > ii dbus 1.8.18-0+deb8u1 > > ii libpam-systemd 215-17+deb8u1 > > > > Versions of packages systemd suggests: > > ii systemd-ui 3-2 > > > > - - -- Configuration Files: > > /etc/systemd/resolved.conf changed: > > [Resolve] > > DNS=192.168.0.108 > > > > > > - - -- no debconf information > > - -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v2 > > > > iEYEARECAAYFAlV8+PUACgkQ5+rBHyUt5wvuKQCfZ6A1HB2efzdQf+CX1VY1RJn4 > > o1QAn3pxY1mLSL3FLlsmYjUThQ64239j > > =F5nO > > - -----END PGP SIGNATURE----- > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v2 > > > > iEYEARECAAYFAlV8+6cACgkQ5+rBHyUt5wvNyACeLAexV6oj4xMv1LxXyXSLRckt > > cCQAoLiaIfLQWC6zEdiFNi7rZHBJJFLo > > =Spni > > -----END PGP SIGNATURE----- > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iEYEARECAAYFAlWICYkACgkQ5+rBHyUt5wtj3ACePYfyPFiMTp8qW8UdJVkJz4um > lHoAnjeXPEAtOB8mPAtJJ4pON8SF7lCa > =n9Z/ > -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

