# DNS is used in the Internet to convert domain names and IP addresses.
DNS:
The Domain Name System (English: Domain Name System, abbreviation: DNS) is a service of the Internet. As a distributed database that maps domain names and IP addresses to each other, it can make people access the Internet more conveniently. DNS uses TCP and UDP port 53. Currently, the limit on the length of each level of domain name is 63 characters, and the total length of the domain name cannot exceed 253 characters.
Initially, the characters of the domain name are limited to a subset of ASCII characters. In 2008, ICANN passed a resolution allowing the use of other languages as characters for the Internet's top-level domain names. Using the Punycode-based IDNA system, Unicode strings can be mapped to valid DNS character sets. Therefore, domain names such as "XXX.China" and "XXX.United States" can be directly entered in the address bar and accessed without installing a plug-in. However, due to the widespread use of English, using other language characters as domain names will cause various problems, such as difficulty in input, difficulty in international promotion, etc.
Simply put, it is a system that translates domain names into IP addresses.
Domain name resolution:
Domain name resolution is a service that points the domain name to the website space IP so that people can easily access the website through the registered domain name. An IP address is a numerical address that identifies a site on the Internet. In order to facilitate memory, domain names are used instead of IP addresses to identify site addresses. Domain name resolution is the process of converting domain names into IP addresses. Domain name resolution is completed by the DNS server.
Domain name resolution is also called domain name pointing, server settings, domain name configuration, reverse IP registration, etc. To put it simply, it is to resolve an easy-to-remember domain name into an IP. The service is completed by the DNS server. It resolves the domain name to an IP address, and then binds a subdirectory to the domain name on the host of this IP address.
Addresses on the Internet are numerical IP addresses. The main function of domain name resolution is to facilitate memory.
The above is the detailed content of What is used in the Internet to realize domain name and IP address conversion?. For more information, please follow other related articles on the PHP Chinese website!