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 & Stack Overflow 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.
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
resolv.conf
sudo gedit /etc/resolv.conf
resolv.conf
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 :
sudo gedit /etc/resolvconf/resolv.conf.d/head
/etc/resolvconf/resolv.conf.d/head
Re-connect internet connection
More Detail On https://wiki.archlinux.org/index.php/Network_Debugging#DNS_Servers
For Windows:
Add these DNS ip on network configuration
Tutorial to add DNS in windows is here https://www.opennicproject.org/configure-your-dns/how-to-change-dns-servers-in-windows-7/
Re-connect internet connection