[Desktop-packages] [Bug 1720976] Re: DNS server in NM static ethernet config fails to configure in systemd-resolved
** Changed in: systemd (Ubuntu) Status: Confirmed => Invalid ** Changed in: network-manager (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1720976 Title: DNS server in NM static ethernet config fails to configure in systemd-resolved Status in network-manager package in Ubuntu: Invalid Status in systemd package in Ubuntu: Invalid Bug description: 1) root@dimension:/home/bp1# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Artful Aardvark (development branch) Release: 17.10 Codename: artful root@dimension:/home/bp1# 2) systemd: Installed: 234-2ubuntu10 Candidate: 234-2ubuntu10 Version table: *** 234-2ubuntu10 500 500 http://gb.archive.ubuntu.com/ubuntu artful/main amd64 Packages 100 /var/lib/dpkg/status 3) DNS resolution 4) No DNS resolution from my configured DNS (in my case 192.168.1.1) Workarounds: Enable FallbackDNS=8.8.8.8 8.8.4.4 in resolved.conf Or running dhclient Fresh boot of Artful (static IP via network manager and DNS should be at 192.168.1.1): bp1@dimension:~$ ifconfig enp8s0: flags=4163 mtu 1500 inet 192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::99f:fae5:1467:a576 prefixlen 64 scopeid 0x20 ether 00:1e:4f:e9:f1:c1 txqueuelen 1000 (Ethernet) RX packets 141 bytes 14707 (14.7 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 234 bytes 29807 (29.8 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 556 bytes 33758 (33.7 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 556 bytes 33758 (33.7 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bp1@dimension:~$ ping www.dn.se ping: www.dn.se: Name or service not known bp1@dimension:~$ su Password: root@dimension:/home/bp1# systemd-resolve --status Global DNSSEC NTA: 10.in-addr.arpa 16.172.in-addr.arpa 168.192.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa corp d.f.ip6.arpa home internal intranet lan local private test Link 2 (enp8s0) Current Scopes: LLMNR/IPv4 LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSSEC setting: no DNSSEC supported: no root@dimension:/home/bp1# ping www.dn.se ping: www.dn.se: Name or service not known root@dimension:/home/bp1# nano /etc/systemd/resolved.conf root@dimension:/home/bp1# 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. # # Entries in this file show the compile time defaults. # You can change settings by editing this file. # Defaults can be restored by simply deleting this file. # # See resolved.conf(5) for details [Resolve] #DNS= FallbackDNS=8.8.8.8 8.8.4.4 #Domains= #LLMNR=yes #MulticastDNS=yes #DNSSEC=no #Cache=yes #DNSStubListener=udp root@dimension:/home/bp1# ps ax | grep systemd 254 ?Ss 0:00 /lib/systemd/systemd-journald 292 ?Ss 0:00 /lib/systemd/systemd-udevd 573 ?Ssl0:00 /lib/systemd/systemd-timesyncd 585 ?Ss 0:00 /lib/systemd/systemd-networkd 701 ?Ss 0:00 /lib/systemd/systemd-logind 735 ?Ss 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 844 ?Ss 0:00 /lib/systemd/systemd-resolved
[Desktop-packages] [Bug 1720976] Re: DNS server in NM static ethernet config fails to configure in systemd-resolved
I have tested on artful here with a NetworkManager wired connection with static DNS and cannot reproduce the problem. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1720976 Title: DNS server in NM static ethernet config fails to configure in systemd-resolved Status in network-manager package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Confirmed Bug description: 1) root@dimension:/home/bp1# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Artful Aardvark (development branch) Release: 17.10 Codename: artful root@dimension:/home/bp1# 2) systemd: Installed: 234-2ubuntu10 Candidate: 234-2ubuntu10 Version table: *** 234-2ubuntu10 500 500 http://gb.archive.ubuntu.com/ubuntu artful/main amd64 Packages 100 /var/lib/dpkg/status 3) DNS resolution 4) No DNS resolution from my configured DNS (in my case 192.168.1.1) Workarounds: Enable FallbackDNS=8.8.8.8 8.8.4.4 in resolved.conf Or running dhclient Fresh boot of Artful (static IP via network manager and DNS should be at 192.168.1.1): bp1@dimension:~$ ifconfig enp8s0: flags=4163mtu 1500 inet 192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::99f:fae5:1467:a576 prefixlen 64 scopeid 0x20 ether 00:1e:4f:e9:f1:c1 txqueuelen 1000 (Ethernet) RX packets 141 bytes 14707 (14.7 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 234 bytes 29807 (29.8 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 556 bytes 33758 (33.7 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 556 bytes 33758 (33.7 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bp1@dimension:~$ ping www.dn.se ping: www.dn.se: Name or service not known bp1@dimension:~$ su Password: root@dimension:/home/bp1# systemd-resolve --status Global DNSSEC NTA: 10.in-addr.arpa 16.172.in-addr.arpa 168.192.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa corp d.f.ip6.arpa home internal intranet lan local private test Link 2 (enp8s0) Current Scopes: LLMNR/IPv4 LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSSEC setting: no DNSSEC supported: no root@dimension:/home/bp1# ping www.dn.se ping: www.dn.se: Name or service not known root@dimension:/home/bp1# nano /etc/systemd/resolved.conf root@dimension:/home/bp1# 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. # # Entries in this file show the compile time defaults. # You can change settings by editing this file. # Defaults can be restored by simply deleting this file. # # See resolved.conf(5) for details [Resolve] #DNS= FallbackDNS=8.8.8.8 8.8.4.4 #Domains= #LLMNR=yes #MulticastDNS=yes #DNSSEC=no #Cache=yes #DNSStubListener=udp root@dimension:/home/bp1# ps ax | grep systemd 254 ?Ss 0:00 /lib/systemd/systemd-journald 292 ?Ss 0:00 /lib/systemd/systemd-udevd 573 ?Ssl0:00 /lib/systemd/systemd-timesyncd 585 ?Ss 0:00 /lib/systemd/systemd-networkd 701 ?Ss 0:00 /lib/systemd/systemd-logind 735 ?Ss 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 844 ?Ss 0:00
[Desktop-packages] [Bug 1720976] Re: DNS server in NM static ethernet config fails to configure in systemd-resolved
** Summary changed: - no DNS resolution via systemd + DNS server in NM static ethernet config fails to configure in systemd-resolved -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1720976 Title: DNS server in NM static ethernet config fails to configure in systemd-resolved Status in network-manager package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Confirmed Bug description: 1) root@dimension:/home/bp1# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Artful Aardvark (development branch) Release: 17.10 Codename: artful root@dimension:/home/bp1# 2) systemd: Installed: 234-2ubuntu10 Candidate: 234-2ubuntu10 Version table: *** 234-2ubuntu10 500 500 http://gb.archive.ubuntu.com/ubuntu artful/main amd64 Packages 100 /var/lib/dpkg/status 3) DNS resolution 4) No DNS resolution from my configured DNS (in my case 192.168.1.1) Workarounds: Enable FallbackDNS=8.8.8.8 8.8.4.4 in resolved.conf Or running dhclient Fresh boot of Artful (static IP via network manager and DNS should be at 192.168.1.1): bp1@dimension:~$ ifconfig enp8s0: flags=4163mtu 1500 inet 192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::99f:fae5:1467:a576 prefixlen 64 scopeid 0x20 ether 00:1e:4f:e9:f1:c1 txqueuelen 1000 (Ethernet) RX packets 141 bytes 14707 (14.7 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 234 bytes 29807 (29.8 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 556 bytes 33758 (33.7 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 556 bytes 33758 (33.7 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 bp1@dimension:~$ ping www.dn.se ping: www.dn.se: Name or service not known bp1@dimension:~$ su Password: root@dimension:/home/bp1# systemd-resolve --status Global DNSSEC NTA: 10.in-addr.arpa 16.172.in-addr.arpa 168.192.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa corp d.f.ip6.arpa home internal intranet lan local private test Link 2 (enp8s0) Current Scopes: LLMNR/IPv4 LLMNR/IPv6 LLMNR setting: yes MulticastDNS setting: no DNSSEC setting: no DNSSEC supported: no root@dimension:/home/bp1# ping www.dn.se ping: www.dn.se: Name or service not known root@dimension:/home/bp1# nano /etc/systemd/resolved.conf root@dimension:/home/bp1# 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. # # Entries in this file show the compile time defaults. # You can change settings by editing this file. # Defaults can be restored by simply deleting this file. # # See resolved.conf(5) for details [Resolve] #DNS= FallbackDNS=8.8.8.8 8.8.4.4 #Domains= #LLMNR=yes #MulticastDNS=yes #DNSSEC=no #Cache=yes #DNSStubListener=udp root@dimension:/home/bp1# ps ax | grep systemd 254 ?Ss 0:00 /lib/systemd/systemd-journald 292 ?Ss 0:00 /lib/systemd/systemd-udevd 573 ?Ssl0:00 /lib/systemd/systemd-timesyncd 585 ?Ss 0:00 /lib/systemd/systemd-networkd 701 ?Ss 0:00 /lib/systemd/systemd-logind 735 ?Ss 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 844 ?