We have a problem, from the log above it appears that you do not have an internet connection. How are you connected to the internet? Wireless, Wired, Bluetooth?
Also Google and Yahoo are not browsers, your Browser is probably Edge, Internet Explorer, Chrome, Firefox, PaleMoon, Safari, Opera or something like that. Please tell me the program you browse the internet on.
For the hosts file, if you are using Windows 8 or Windows 10 follow the instructions below. If you are not using Windows 8 or 10, please tell me what version of Windows you are using and do not try following the instructions below.
Download this file
, and save it to your desktop. Double click on it and it will open in Windows Explorer. Copy all the files inside to the desktop. Now right click on mvps.bat and select "run as administrator".