The hosts file is a text file simply named “hosts”, available on almost all internet-connected operating systems. It is used as a shortcut to DNS. When a user types in a host name (for example, “takedown.net”) ordinarily the TCP/IP stack queries the DNS server to translate that name into an IP address. If “takedown.net” was in the system’s hosts file, a hard-coded IP address would automatically be assigned to the host, and the DNS lookup bypassed completely.
The original idea of the hosts file was to allow small networks to operate without a DNS server. For example, two computers might be named “leela” and “fry”, and a shortcut to access each computer would be to hard-code the IP address in the file:
In this example, the computer with the IP number 192.168.0.2 could be pinged simply by typing “ping fry”, rather than “ping 192.168.0.2”.
Would automatically redirect any web requests to ads.doubleclick.net to the special IP number 127.0.0.1 – the local system. Unless an ad server is running on the local system, this will mean no ads are shown.
Hosts files can also be hijacked by spyware and other malicious programs. Evil hackers could potentially point a benign hostname (such as takedown.net) to a malicious website that could act as a sort of online trojan – something that looked and acted like the real infoAnarchy, but actually tracked usage or other issues.
- UNIX and Linux: /etc/hosts
- Windows NT, Windows 2000 and Windows XP: windowssystem32driversetchosts
- Windows 95, Windows 98 and Windows ME: windowshosts
If no file is found at this location, it is possible that your computer is running without one. This is probably not a significant issue unless your computer doesn’t know localhost is 127.0.0.1 which regulary causes problems with a variety of applications.
TakeDown.NET -> “Hosts-File”