** 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 Ubuntu Touch seeded packages, which is subscribed to systemd 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=4163<UP,BROADCAST,RUNNING,MULTICAST> 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<link> 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<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> 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 ? Ssl 0: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 1138 ? Ss 0:00 /lib/systemd/systemd --user 1219 ? Ss 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation 1531 ? Ss 0:00 /lib/systemd/systemd --user 1678 pts/0 S+ 0:00 grep --color=auto systemd root@dimension:/home/bp1# kill -HUP 844 root@dimension:/home/bp1# ping www.dn.se PING e12723.a.akamaiedge.net (23.217.10.201) 56(84) bytes of data. 64 bytes from a23-217-10-201.deploy.static.akamaitechnologies.com (23.217.10.201): icmp_seq=1 ttl=58 time=27.4 ms ^C --- e12723.a.akamaiedge.net ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 27.478/27.478/27.478/0.000 ms root@dimension:/home/bp1# systemd-resolve --status Global DNS Servers: 8.8.8.8 8.8.4.4 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1720976/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp