0

Today I install Kubuntu 16.04, again, because I'm having trouble to navigate. I have tried all kinds of browser, and with all I have the same problem.

Sometime when I open a page, I received these message "ERR_NAME_RESOLUTION_FAILED". Once every three pages that I open, I get this problem.

This problem, was not happening, after the installation and before I update the system.

What can I do?

Thanks

  • I'm using a ethernet connection. And the strange part is that if I use a Wifi connections, this problem will not happen...... – Pablo Infante Jun 06 '16 at 20:31
  • Since it doesn't fail always I would assume that connectivity is good but the DNS server you are using may be overloaded. – Elder Geek Jun 07 '16 at 15:17
  • But these issue it's only in my Kubuntu, and not in the other computer connected to the same network..... – Pablo Infante Jun 07 '16 at 18:26
  • Interesting. Are you obtaining DNS via DHCP or statically? Related: http://askubuntu.com/questions/150084/kubuntu-12-04-dns-issues?rq=1 – Elder Geek Jun 09 '16 at 13:56
  • Right now I'm doing it via DHCP. I have all ready tried using google DNS, but it's the same..... – Pablo Infante Jun 09 '16 at 16:22
  • Any related errors in the logs? If so please [edit] them into your question. – Elder Geek Jun 11 '16 at 19:45
  • Possibly related bug: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1578533 – Elder Geek Jun 30 '16 at 14:40
  • folowing the solution from this thread works for me https://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error – Kazuska May 24 '17 at 22:43

2 Answers2

3

You can test network connectivity with ping command:

ping 8.8.8.8

if you get reply from Google public DNS, then you have connected to internet and maybe you haven't set DNS in your ethernet interface. go to Network Connections and then Edit your ethernet interface. change the tab to IPV4 Settings and set DNS in Additional DNS Servers field like 8.8.8.8.

  • Thank you for your answer. I have done that, change the DNS to the public google DNS, but the problem persist....... I tried with the ping tools to 8.8.8.8, and my coneection is ok..... It's the weird network problem that I ever had...... – Pablo Infante Jun 07 '16 at 18:24
  • Are you get reply from this command? : nslookup google.com – Ghasem Pahlavan Jun 08 '16 at 08:18
  • If no reply recieved, check this command: nslookup google.com 8.8.8.8 – Ghasem Pahlavan Jun 08 '16 at 08:20
  • Server: 127.0.1.1 Address: 127.0.1.1#53

    ** server can't find google.com: REFUSED This is what I recived, when I do nslookup google.com.

    – Pablo Infante Jun 09 '16 at 16:18
  • Server: 8.8.8.8 Address: 8.8.8.8#53

    Non-authoritative answer: Name: google.com Address: 64.233.190.139 Name: google.com Address: 64.233.190.101 Name: google.com Address: 64.233.190.138 Name: google.com Address: 64.233.190.113 Name: google.com Address: 64.233.190.100 Name: google.com Address: 64.233.190.102 This is what I get when I do nslookup google.com 8.8.8.8

    – Pablo Infante Jun 09 '16 at 16:19
  • Open /etc/resolv.conf, erase all content and then add nameserver 8.8.8.8. save and close the file. – Ghasem Pahlavan Jun 11 '16 at 00:38
2

I had the same problem with the latest 16.04 updates. Fixed as follows:

  1. Remove (or comment out) the below line from /etc/NetworkManager/NetworkManager.conf: dns=dnsmasq
  2. Run service NetworkManager restart