Getting DNS_PROBE_FINISHED_BAD_CONFIG error

I am using kali linux. I came across so many ways which all failed to work but one. In the terminal, type:-

sudo apt-get purge resolvconf

A GUI appears, click okay. Reboot your machine. You should be able to access the internet once it starts.


Open your cmd and put below two commands

ipconfig /release

ipconfig /renew

Now open run and type ncpa.cpl and press enter . after that on your ipv4 settings you to set below dns on there

8.8.8.8

8.8.4.4

Tuitorial : https://tricksmotion.com/how-to-fix-dns_probe_finished_bad_config-problem-in-google-chrome-tricksmotion/


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:

  • 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