- Green versionCheck
- Green versionCheck
- Green versionCheck
- Green versionCheck
Basic introduction to hosts file
This is a host file that I backed up from my computer. Regardless of whether it is useful or not, I am afraid that I might accidentally delete it one day and find it if I don’t remember the format. They are for the win7 system and the win10 system. In fact, there are two There is no difference, and the directories where they are stored are the same. It's just that win7 is simpler, and xp has some English instructions, but it can still be used if you delete the English instructions.
Introduction to hosts file functions
Hosts is a system file without extension, which can be opened with tools such as Notepad. Its function is to establish an associated "database" between some commonly used website domain names and their corresponding IP addresses. When the user enters a username that needs to be logged in in the browser, When entering a URL, the system will first automatically search for the corresponding IP address in the Hosts file. Once found, the system will immediately open the corresponding web page. If not found, the system will submit the URL to the DNS domain name resolution server for IP address resolution.
The main function of hosts file
1. Speed up domain name resolution
For websites that we visit frequently, we can improve the domain name resolution speed by configuring the mapping relationship between domain names and IPs in Hosts. Due to the mapping relationship, when we enter the domain name, the computer can quickly resolve the IP without requesting the DNS server on the network.
2. Convenient for LAN users
In the local area network of many units, there will be servers provided for users to use. However, since DNS servers are rarely installed in local area networks, when accessing these servers, you have to enter IP addresses that are difficult to remember. This is quite troublesome for many people. You can give these servers names that are easy to remember, and then establish IP mapping in Hosts, so that when you visit in the future, you only need to enter the name of the server.
3. Block websites (domain name redirection)
There are many websites that install various plug-ins into your computer without user consent, some of which may be Trojan horses or viruses. For these websites, we can use Hosts to map the domain name of the website to the wrong IP or the IP of the local computer, so that there is no need to access it. In WINDOWS system, it is agreed that 127.0.0.1 is the IP address of the local computer, and 0.0.0.0 is the wrong IP address.
hosts file update log
1.Fix some bugs
2. Optimized some functions
Huajun editor recommends:
The editor has also used.NET,Batch Butler,Cloud Machine Manager,Hard drive serial number reader,Quickly hide taskbar icon toolSoftware with similar functions to this software is available in Huajun Software Park and can be downloaded and used!
it works
it works
it works