Why does DNS resolution happen?

Computers can only identify IP addresses such as “39.156.69.79” when communicating on the network.

“39.156.69.79” // Please try to access this IP address into the browser

You will find that you magically jump to Baidu.


When we access the Web service, we are actually accessing the application service on the corresponding IP host.

But there was a problem. “39.156.69.79”, a long, irregular string of numbers, was particularly hard to remember. What can I do?

So “domain names” were born, and “DNS resolution” translates domain names into IP addresses.


Now, one conclusion can be drawn:

Entering Baidu.com in the browser is equivalent to directly entering the IP address 39.156.69.79.

Principles of DNS Resolution

When an application needs to map a host domain name to an IP address, the domain name resolution function is called.

The resolution function puts the domain name to be converted into a DNS request and sends it to the local DNS server in UDP packets.

In simple terms, when you visit a domain name, the DNS server resolves it to an IP address and returns the result to you.

DNS Resolution Combat (Aliyun version)

If you have a domain name, just look at 2, if you don’t, look at 1.

(” If you don’t have a personal website, don’t waste your money buying a domain name.” )

  1. Buy a domain name
    1. 1 visit Aliyun

https://www.aliyun.com/?source=5176.11533457&userCode=vnk7s0ek

1.2 Purchase a domain name

If you want to resolve a domain name to an address, obviously, you have to have a domain name first.

(a) “Click the domain name registration on aliyun home page”


(b) “Enter a domain name you want to purchase” and then settle the purchase.


  1. parsing

    2.1 Access ali Cloud Console


Yes, this is the page

2.2 Go to the Domain name panel and select Resolution


2.3 Click Add Record, enter the information you want, and then click OK.



2.4 Then we can access our own server by accessing the domain name.