I'm running ubuntu server 16.04.2 and apt-get update
returns temporary failure resolving "everything on the list".
- When I ping www.google.com, it responds with unknown host.
- When I ping with 8.8.8.8, I get packets sent with no errors etc.
I have tried every "fix" I can find in Ubuntu forums and all over the
rest of the internet world and nothing works. The resolv.conf
is
empty, ifconfig shows nic is functioning, firewall is off, and I
threw away the hammer just in case. Unfortunately, I am typing this
on another computer on the same network but can't attach text from the
various outputs to show whats going on. Need help on this please.
The resolv.conf file contains these lines:
# 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
search 8.8.8.8 8.8.4.4
The last line is placed their by the interfaces file when you reboot the system. This is new for 16.04LTS. I'm thinking Windows NT4 wasn't so bad and neither was Ubuntu Server 12.
sudo systemctl restart network-manager.service
? Does your internet start working again? – Kaz Wolfe Feb 23 '17 at 05:23