Home  >  Article  >  Operation and Maintenance  >  What is dns in linux

What is dns in linux

WBOY
WBOYOriginal
2022-03-15 15:22:363898browse

Dns in Linux means domain name system, which consists of a resolver and a domain name server. DNS is a service based on TCP and UDP protocols. It is used for daily domain name resolution and can convert domain names and IP addresses to each other. The domain name server saves the domain names and IP addresses of all hosts in the network and can convert domain names to IP. address of the server.

What is dns in linux

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What is dns in linux

What is DNS?

DNS is the abbreviation of Domain Name System, which is composed of a resolver and a domain name server.

Domain name server refers to a server that saves the domain names and corresponding IP addresses of all hosts in the network and has the function of converting domain names into IP addresses.

The domain name must correspond to an IP address, and the IP address does not necessarily have a domain name. The domain name system adopts a hierarchical structure similar to a directory tree.

The domain name server is the server side in the client/server model. It mainly has two forms: main server and forwarding server.

The process of mapping domain names to IP addresses is called "domain name resolution". On the Internet, there is a one-to-one (or many-to-one) relationship between domain names and IP addresses. Although domain names are easy for people to remember, machines can only recognize each other's IP addresses. The conversion between them is called domain name resolution. Domain names The resolution needs to be completed by a specialized domain name resolution server, and DNS is the server that performs domain name resolution.

DNS naming is used in TCP/IP networks such as the Internet to find computers and services by user-friendly names.

When a user enters a DNS name into an application, the DNS service can resolve the name into other information related to it, such as an IP address. Because the URL you enter when surfing the Internet is resolved by the domain name resolution system to find the corresponding IP address, so that you can access the Internet. In fact, the final point of the domain name is the IP.

Usually we use the forward resolution function of the DNS server, and DNS also has a directional resolution function, which is to resolve the IP address into a host name.

DNS is a service based on tcp and udp protocols. It is used for our daily domain name resolution and helps us convert domain names and IP addresses to each other.

DNS authorization management mechanism:

The largest domain is the root domain, and . indicates that the next level is the first-level domain, which is the top-level domain. Note: Root domains and top-level domains are special and cannot be specified by individuals.

Then there are the second-level domain and the third-level domain, etc., until the final host (these can be applied for by companies, organizations, and individuals)

What is dns in linux

Related Recommended: "Linux Video Tutorial"

The above is the detailed content of What is dns in linux. 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