[Bug 1819132] [NEW] DNS is broken after reboot or suspend

Launchpad Bug Tracker 1819132 at bugs.launchpad.net
Fri Mar 8 16:04:27 UTC 2019


You have been subscribed to a public bug:

Relatively recently, after I reboot Ubuntu 19.04, the wireless network
connects but DNS is not working. This is because the /etc/resolv.conf
file, which is a symlink to ../run/resolvconf/resolv.conf, has no
nameserver entries:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

Either turning the wireless card off and on again or running "sudo
systemctl restart systemd-resolved" fixes the problem.

This is also a problem after resuming from suspend - either the
resolv.conf file has no nameservers, or the previous nameservers are
still in it and appear before the new ones (so DNS queries time out).

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: network-manager 1.15.2-0ubuntu2
Uname: Linux 5.0.0-050000-generic x86_64
ApportVersion: 2.20.10-0ubuntu23
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar  8 17:30:17 2019
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2017-08-16 (569 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
IpRoute:
 default via 10.1.1.1 dev wlp2s0 proto dhcp metric 600 
 10.1.1.0/24 dev wlp2s0 proto kernel scope link src 10.1.1.3 metric 600 
 169.254.0.0/16 dev wlp2s0 scope link metric 1000
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: Upgraded to disco on 2019-01-15 (51 days ago)
WifiSyslog:
 
nmcli-dev:
 DEVICE           TYPE      STATE        IP4-CONNECTIVITY  IP6-CONNECTIVITY  DBUS-PATH                                  CONNECTION  CON-UUID                              CON-PATH                                           
 wlp2s0           wifi      connected    full              limited           /org/freedesktop/NetworkManager/Devices/2  whisky5 1   b76ae48f-93bb-4e57-8f1e-aac201b9dacb  /org/freedesktop/NetworkManager/ActiveConnection/1 
 enx00e04c68026f  ethernet  unavailable  limited           limited           /org/freedesktop/NetworkManager/Devices/3  --          --                                    --                                                 
 lo               loopback  unmanaged    unknown           unknown           /org/freedesktop/NetworkManager/Devices/1  --          --                                    --
nmcli-nm:
 RUNNING  VERSION  STATE      STARTUP  CONNECTIVITY  NETWORKING  WIFI-HW  WIFI     WWAN-HW  WWAN    
 running  1.15.2   connected  started  full          enabled     enabled  enabled  enabled  enabled

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug disco
-- 
DNS is broken after reboot or suspend
https://bugs.launchpad.net/bugs/1819132
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to systemd in Ubuntu.



More information about the foundations-bugs mailing list