[Bug 1631241] Re: Name resolution stops working after resume from suspend
Michael Gratton
mike at vee.net
Fri Oct 7 06:52:47 UTC 2016
Well I'm posting this from the computer with the problem, so yes I'm
online. :)
To fix the problem I need to manually edit /etc/resolv.conf and replace
dnsmasq's 127.0.0.1 with resolve's 127.0.0.53 (or any other reachable
name server).
> mjg at payens:~$ nmcli g
> STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
> connected full enabled enabled enabled enabled
> mjg at payens:~$ dig A www.ubuntu.com @8.8.8.8
>
> ; <<>> DiG 9.10.3-P4-Ubuntu <<>> A www.ubuntu.com @8.8.8.8
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16454
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags:; udp: 512
> ;; QUESTION SECTION:
> ;www.ubuntu.com. IN A
>
> ;; ANSWER SECTION:
> www.ubuntu.com. 164 IN A 91.189.90.58
>
> ;; Query time: 6 msec
> ;; SERVER: 8.8.8.8#53(8.8.8.8)
> ;; WHEN: Fri Oct 07 17:51:58 AEDT 2016
> ;; MSG SIZE rcvd: 59
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1631241
Title:
Name resolution stops working after resume from suspend
Status in systemd package in Ubuntu:
Incomplete
Bug description:
After upgrading to Yakkety, when my Ubuntu GNOME laptop resumes from
suspend DNS resolution stops working.
After resuming, systemd-resolved is running and libnss-resolve is
installed, but /etc/resolv.conf contains 127.0.1.1 as the the only
name server. The dnsmasq-base package is installed since it is pulled
in by both network-manager and lxc1, and both NM and libvirt have
spawned instances of dnsmasq:
> 1155 pts/2 S+ 0:00 grep dnsmasq
> 2724 ? S 0:00 dnsmasq -u lxc-dnsmasq --strict-order --bind-interfaces --pid-file=/run/lxc/dnsmasq.pid --listen-address 10.0.3.1 --dhcp-range 10.0.3.2,10.0.3.254 --dhcp-lease-max=253 --dhcp-no-override --except-interface=lo --interface=lxcbr0 --dhcp-leasefile=/var/lib/misc/dnsmasq.lxcbr0.leases --dhcp-authoritative
> 2992 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
> 2993 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
> 22879 ? S 0:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/NetworkManager/dnsmasq.pid --listen-address=127.0.1.1 --cache-size=0 --conf-file=/dev/null --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
Let me know if you need any extra info.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: libnss-resolve 231-9git1
ProcVersionSignature: Ubuntu 4.8.0-17.19-generic 4.8.0-rc7
Uname: Linux 4.8.0-17-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Oct 7 13:52:40 2016
InstallationDate: Installed on 2015-07-22 (443 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: systemd
UpgradeStatus: Upgraded to yakkety on 2016-10-05 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1631241/+subscriptions
More information about the foundations-bugs
mailing list