Your Hosts file shouldn't really have any information in it on a standard computer. Sometimes spyware puts stuff in there to mess with you.
Back in the old days we used to use the host file all the time, before offices had DNS or WINS servers.
Actually, the default HOSTS file will ave info in it - a brief text blurb or how to add domain names to it; and it'll have the default 'localhost' loopback info too.
If it has anything beyond that, you may have a bit of spyware or a virus; but nowadays, hackers have gotten away from using the more obvious exploits. Get a good, reputable Virus and Spyware scanner and give your PC a once over and see what comes up. If you find you can't install, run or update that software, then you do probably have something.
But, remember, once your internet connection drops, you lose all DNS; and if you were connected when that happens, your PC will then look at your HOSTS file to see if it can resolve the hostname for a site; and if it can't then you'll see that error.
Some ISPs actually rotate their DNS servers; requiring that your modem renew and get assigned a new DNS adddress after a certain length of time. It's possible that somethine that glitches; and when you loose DNS you're actually STILL connected to the internet; but you don't have a DNS server connection that (for example) translates the name 'trekbbs.com' to it's actual IP addres of 67.225.136.218 (and no, it's not magic that gave me the trekbbs IP - just a good old 'ping' command.
Everything on the internet actually uses that numeric TCP/IP address to talk to each other what the DNS (Domain Name Servers) do is have a table that 'translates' a domain name to its proper numeric TCP/IP address; thus if tou LOSE a DNS connection; typing "http://trekbbs.com" would get you a 'page can't be found error on your browser; BUT typing "http://67.225.136.218" WOULD get you to the main page (although the ads and anything else that needs DNS still wouldn't work/display).
Basically, what the HOSTS file is (and was in the 'old' days) was effectively a local DNS that the OS could use to resolve domain names into their propper addresses. Your PC will usiually check that file first before it goes out to a DNS over the internet, which is why hackers used to try and drop entries into it.
Thus ends, "Internet 101 and you"
