When the network interface providing dns is managed by network manager,
dns fails on relaunch of the interface

test dns:
dig x$(date +%N).blogspot.com +short
if it fails, there is no output

verify that Internet is available:
dig @8.8.8.8 x$(date +%N).blogspot.com +short
blogspot.l.googleusercontent.com.
216.58.194.129

provoke the problem:
- unplug and re-plug the network interface (usb Ethernet)
- or resume from standby

quick-fix to regain working dns: restart Network Manager
sudo systemctl restart NetworkManager
- dns now works again

Cause: for Ubuntu 16.10 Yakketi, this appeared shortly before 160926
probably with network-manager package 1.2.2-0ubuntu8

It appears the problem is fixed permanently by installing an old version of 
network-manager
wget 
https://launchpad.net/ubuntu/+source/network-manager/1.2.2-0ubuntu4/+build/10026930/+files/network-manager_1.2.2-0ubuntu4_amd64.deb
sudo dpkg -i network-manager_1.2.2-0ubuntu4_amd64.deb
- this completes for 16.10 on 161112

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629620

Title:
  DNS resolver stops accepting queries

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1629620/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to