Most people visit ** through the domain name, so the domain name has become the traffic entrance and image window of the enterprise online, and its importance is becoming increasingly prominent. Therefore, many companies will now register the domain names related to the enterprise name and brand name for brand protection before building a website. However, it should be noted that after the domain name registration is completed, although you have the ownership of the domain name, you cannot use it directly, and you also need to set the domain name resolution to use the domain name normally.
Compared with the IP address, the domain name is more humane, easy to remember and enter, but it cannot be directly recognized by the computer, and the computer locates and communicates through the IP address, so it is necessary to point to the domain name and the IP address one by one, in order to achieve the effect of accessing ** through the domain name.
Domain name resolution is a core service on the Internet, through which users can access the domain name through easy to remember**, instead of using complex IP addresses that are difficult to remember. Domain name resolution actually plays a role in navigation addressing, through which the domain name can be translated into IP addresses entered by the user, and the positioning communication between computers is completed, so that when the user enters the domain name, the computer can find the server corresponding to the domain name and obtain the corresponding information and services.
Due to the complexity of the structure of the Internet, domain name resolution is done by the globally distributed DNS (Domain Name System). DNS consists of four servers: local DNS servers, root name servers, top-level domain name servers, and authoritative name servers.
When we enter a domain name in the browser, our computer will first send a request to the local DNS server, and the local DNS server will get the address of the top-level domain name server from the root server, then get the address of the authoritative server from the top-level server, and finally get the address of the ** server corresponding to the domain name from the authoritative server. The local DNS server informs the computer's browser of this IP address, which then initiates an access to the IP address. It's a simple domain name resolution process.
How Do I Configure DNS?
In general, domain name registrars provide domain name resolution services, of course, if you want to get more secure and professional domain name resolution services, you can also entrust the domain name resolution authority to professional domain name resolution service providers such as Guoke Cloud and Alibaba Cloud.
To configure domain name resolution, you need to add a resolution record to the DNS console, and after the resolution record takes effect, the binding relationship between the domain name and the IP address is completed. For example, we will wwwexample.com and 220101.28.106, then we need to add the following parsing record.
Record Type: A Record (IPv4 address).
Host header: www
Line: Select to add according to your own situation, if there are no special requirements, you can select the default line.
Recorded value: 220101.28.106
TTL: This is the lifetime of the DNS cache on the DNS server.
After checking that it is correct, confirm the addition, and after the addition is successful, the domain name resolution will take effect immediately, at this time, we will pass wwwexample.com domain name can access 220101.28.106 This server IP too.