I have couple of wifi connections out of which one works fine whereas the other one only works for some of the websites and services like google.com & skype. Browsing rest of many websites usually gives me that error:

DNS_PROBE_FINISHED_BAD_CONFIG

I rarely get following errors as well:

DNS_PROBE_FINISHED_NO_INTERNET
DNS_PROBE_FINISHED_NXDOMAIN

Another very strange thing that I experienced is that repeatedly refreshing a page often opens it whereas it doesn't apply at every web page.

I found many solutions as an outcome of long searches at google & stackoverflow but none of these worked. This is not a browser particular issue as getting the same issue on all the browsers I've (i.e. chrome, mozilla & IE). I'm getting the same issue at my official machine with Ubuntu OS & personal machine with Win10 OS. Meanwhile I've no problem with web surfing at my mobile and other PCs connected with the same connection.

Detailed information about the real cause and solution (preferably for both Ubuntu & Win10) will be highly appreciable.

share|improve this question
up vote 11 down vote accepted

For Ubuntu

These errors indicate that there is some problem with DNS.

  • check cat /etc/resolv.conf for your DNS settings.

  • And add following name server in /etc/resolv.conf for temporary or in /etc/resolvconf/resolv.conf.d/head for permanent

nameserver 8.8.8.8
nameserver 8.8.4.4
  • To add these two name server address in resolv.conf
    • run command sudo gedit /etc/resolv.conf
    • Copy above two line of nameserver paste on last line of resolv.conf
    • Ctrl+S to save.
  • Note: If you add name server only /etc/resolv.conf then when computer is restarted then /etc/resolv.conf is in previous stage. So, to store these nameservers permanently, use following method :

    • run command sudo gedit /etc/resolvconf/resolv.conf.d/head
    • Copy above two lines of nameserver and paste on last line of /etc/resolvconf/resolv.conf.d/head
    • Ctrl+S to save.
  • Re-connect internet connection

More Detail On https://wiki.archlinux.org/index.php/Network_Debugging#DNS_Servers

For Windows:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.