Home >Common Problem >What is a DNS server

What is a DNS server

藏色散人
藏色散人Original
2019-10-21 17:12:3712069browse

What is a DNS server

What is the DNS server?

The DNS server refers to the domain name and correspondence that saves all hosts in the network IP address, and a server with the function of converting domain names into IP addresses.

1. DNS features:

The URL we usually enter is the host name of a certain server, www.BAIDU.COM, and the communication between hosts is Accessed through IP address, this requires a mechanism to resolve the address into a name, because the IP address is a string of numbers, which is difficult to remember, but the name is easy to remember. This is what DNS has to accomplish, just like an ID card. The number above is the IP, and the name is the same as the hostname.

2. DNS application process:

For example, if you want to visit www.BAIDU.COM, from the time you enter the URL to the opening of the web page, the entire process is as follows: (All required IP addresses are correct)

● Your request is sent to the public network DNS server (this DNS server is set in your network card settings).

● After the DNS server receives the request, it searches its own database to find the address of the www.BAIDU.COM server you entered. After finding it, it will tell you the IP address it found. end.

● The client receives the response from the DNS server, obtains the IP address of the host www.BAIDU.COM, and then sends a request to this IP address. Of course, it also goes out through the gateway. In the end, you will Open the webpage www.BAIDU.COM.

The above is the detailed content of What is a DNS server. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn