1. For example, if we enter www.hactcm.edu.cn in the browser and enter, the browser will first look in the local Hosts file (located in C:\Windows\System32\drivers\etc) to see if the domain name and its corresponding IP address exist. If it exists, it will start to access this IP address. If it does not exist then send the domain name to the domain name resolution server, and then the domain name resolution server will resolve the IP address returned, the browser to access this address. Let's start experimenting with it:
① I first ping the www.hactcm.edu.cn test, and then learned that the IP address is 211.69.32.50, with the Ipconfig/all command to know that the DNS address is 211.69.32.10.
This time to visit the site, we found that the site can be accessed normally.
② at this point, I will change the DNS arbitrarily a value of 1.1.0.0, and then go to visit this site found to be unable to access the normal.
③ at this point, locate the hosts folder under C:\Windows\System32\drivers\etc, and then add a record to the host file.
④ at this time, again to visit the www.hactcm.edu.cn, found that the site can be normal access.
Analysis Browser input domain name to the Web page show this process