1. "Browser" enter "url".
2. The browser gets the IP of the URL. First check the URL in the Hosts file on the local disk with the IP corresponding to the URL in the list of IPs, and if so, return this IP to the browser, and the browser will issue a DNS request to the local DNS server. The local DNS server is usually provided by your network access server, such as China Telecom, Chinese mobile.
3. After the DNS request of the URL you entered arrives at the "Local DNS server", the local DNS server first queries its "cache record", and if there is this record in the cache, it can return the result directly, which is a recursive way to query. If not, the local DNS server also queries the DNS root server.
4, the root DNS server does not record the specific domain name and IP address of the corresponding relationship, but tells The local DNS server, you can go to the domain server to continue to query, and give the address of the domain server. This process is the iterative process.
5. The local DNS server continues to make a request to the domain server, in this case, the object being requested is a. com domain server: After a request is received by a COM domain server, it does not directly return the correspondence between the domain name and the IP address, but instead tells The local DNS server The address of the resolution server for your domain name.
6, finally, the "local DNS server" to the domain name of the resolution server to make a request, you can receive a domain name and IP address correspondence, the local DNS server not only to return the IP address to the user's computer, but also to save the corresponding relationship in the cache , in case the next time another user query, You can return results directly and speed up network access.
The entire process of browser input URL