thanks for the replies,
i thought the hosts fles maps all hosts (isnt cnn.com a host) to ip addresses.
i was reading up on the wiki entry for the hosts file (
http://en.wikipedia.org/wiki/Hosts_file) and it states that
"Other uses for the hosts file
The hosts file has alternative uses, including filtering ads by having entries for known ad-servers redirect to machines without the advertising on them or more typically by redirecting references to ad-servers to the local address 127.0.0.1. This can save network bandwidth, as well, by eliminating a request to the DNS server normally used for obtaining address information, as well as by not downloading the advertisements. However, if the hosts file is to be used for this purpose, it must be kept up-to-date with lists of Internet servers known to host such content. The "DNS Client" service may need to be stopped in order for changes to the hosts file to have effect.
A more important use of the hosts file is to block known dubious or criminal domains and servers (with spyware and other malware) in the same manner used for blocking ad-servers [3].
The hosts file can also be "hijacked", or used for malicious purposes. For example, adware, computer viruses, trojan horses, or other malware can edit the hosts file to redirect traffic from a "safe" site (such as Google or Wikipedia) to sites hosting content that may be offensive or intrusive to the user or the user?s computer system. For example, a trojan (Qhosts) redirected traffic from search engines such as Google and AltaVista to a site specified by the author of the trojan horse [4]. Mydoom.B (a malware program) blocked users from visiting sites regarding computer security and antivirus software, which also affected the Windows Update web site.
Another useful and time-saving tip for website programmers, intranet developers and IT managers is to enable non-"
does this not mean that the ip address for google or any other site i visist should be within the host file?