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"
On November 27, 2021, the "Jiandao Cloud Zer...
OneTechCloud was founded in 2019 and mainly provi...
Beijing, June 8, 2021 - Denodo, a leader in data ...
Currently, 5G has become a hot topic in the indus...
As Internet security becomes increasingly importa...
The LTE era of wireless communications has been f...
√Introduction to Observability √Introduce the cor...
EtherNetservers released the latest promotion in ...
According to IDC data in the first quarter of 201...
[51CTO.com original article] Enterprises have alw...
[[385177]] 100G transmission in data centers is p...
You may think that the price starting from 50 yua...
Every industry has created a new normal: if your ...
Recently, the Green Construction and Intelligent ...
Bandwagonhost has restocked the special annual pa...