The Host file is used for the IP address to names translation. It is used for mapping and IP-address to a name. The working of the host file has been mentioned below.
when a user takes a internet-site from a web browser, the computer first looks into the system host file for the IP address corresponding to the site. It looks if there is any entry relating to the site. If the entry is found, the system stops searching for the IP address, and returns the IP to the system for further processing. If not, the system contacts the DNS server.
The host file gives full control for the system administrator to divert or define new IP resolutions. But a lot of Malwares too exploit the host file.
In Windows Machines the host files are located in %systemroot%\system32\drivers\etc
No comments:
Post a Comment