The entire process of browser input URL

Source: Internet
Author: User
Tags domain server

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.