This article is reprinted from the WeChat public account "JS Daily Question", the author is Huihui. Please contact the JS Daily Question public account to reprint this article. 1. What isDNS (Domain Names System) is an Internet service that converts domain names and their corresponding IP addresses. Simply put, DNS is equivalent to a translator, responsible for translating domain names into IP addresses.
2. Domain NameA domain name is a hierarchical structure, from top to bottom, it is the root domain name, top-level domain name, second-level domain name, third-level domain name... For example, www.xxx.com, www is the third-level domain name, xxx is the second-level domain name, and com is the top-level domain name. The system has made compatibility for users, and the root domain name at the end of the domain name generally does not need to be entered. There is a domain name server at each level of the domain name, as shown below: In addition, there is the computer's default local domain name server 3. Query methodThere are two ways to query DNS:
Iterative query: If receiver B does not have the exact content that requester A needs, receiver B will tell requester A how to obtain the content, but will not make the request itself. 4. Domain name cacheWhen the domain name server is resolving, use the cache to save the mapping between the domain name and the IP address The DNS records in the computer are also divided into two cache modes:
5. Query processThe process of resolving a domain name is as follows:
The process is shown in the figure below: References https://zh.wikipedia.org/wiki/%E5%9F%9F%E5%90%8D%E7%B3%BB%E7%BB%9F https://www.cnblogs.com/jmilkfan-fanguiju/p/12789677.html https://segmentfault.com/a/1190000039039275 https://vue3js.cn/interview |
<<: Free and easy to use! This data recovery software found my video from two years ago
>>: China Mobile launches A-share listing: "Making money" but not "cutting leeks"
Recently, Shenzhen Metro Futian Hub became the fi...
Three years ago, Wi-Fi 6 technology entered the m...
Enterprise 5G deployments require extensive plann...
The day before yesterday, I received an email fro...
According to statistics, 20% of the sites in hots...
What service do you like the most? The most likel...
It has only been a year since the Ministry of Ind...
As we all know, since the outbreak of the informa...
In the era of big data, when information is trans...
The Green Grid, a non-profit organization dedicat...
Three o'clock in the morning, staying up late...
As mentioned in Maslow's hierarchy of needs t...
A few days ago, we shared information about RAKsm...
In 2019, the dispute over 5G never stopped. Wheth...
As a technology that can rewrite the rules of the...