I am facing problems with internet, more specifically DNS in kali linux. I am running kali linux in VMware on a windows machine. After installing the kali from https://www.kali.org/get-kali/#kali-platforms when I opened up a shell and used
ping google.com
It raised the following error
ping: google.com: Temporary failure in name resolution
I have tried all kind of solutions found online. I have tried adding google's dns servers (8.8.8.8 and 8.8.4.4) to the /etc/resolv.conf
file but nothing seems to be working.