The relationship between domain name and ip

The relationship between domain name and ip

    One: What is a domain name

   Domain name, referred to as domain name or network domain, is the name of a certain computer or computer group consisting of a string of names separated by dots, which is used to identify data during data transmission.

The electronic orientation (sometimes also referred to as geographic location) of a computer. The Domain Name System, sometimes simply referred to as domain names, is a core service of the Internet that

A distributed database that maps names and IP addresses to each other can make it easier for people to access the Internet without having to remember the IP address strings that can be directly read by machines.

   Two: Domain name and IP address relationship

   There is a one-to-many relationship between IP addresses and domain names. An IP address can correspond to multiple domain names, but a domain name has only one IP address. The IP address is composed of numbers, which is inconvenient to remember, so with the domain name,

The ip address can be found through the domain name address. There is a one-to-one (or many-to-one) relationship between domain names and IP addresses on the Internet. Although domain names are easy for people to remember, machines can only recognize each other's IP addresses.

The conversion work between them is called domain name resolution, and domain name resolution needs to be completed by a dedicated domain name resolution server, and DNS is the server for domain name resolution. The final point of the domain name is IP.

    1. IP address: IP address is a 32-bit binary number, which is usually divided into 4 "8-bit binary numbers" (that is, 4 bytes). It is a method of addressing hosts on the Internet, also known as

Internet Protocol address. The IP address is a unified address format provided by the IP protocol. It assigns a logical address to each network and each host on the Internet to shield the physical address.

difference.

    2. Domain name: A domain name is the name of a certain computer or computer group on the Internet consisting of a string of dot-separated names, which is used to identify the electronic location of the computer during data transmission. domain name is a

The "mask" on an IP address, a domain name is intended to facilitate remembering and communicating with a group of server addresses (website, email, FTP, etc.).

    There is a one-to-one correspondence between IP addresses and domain names. The information of this domain name address is stored in a host called a domain name server. Users only need to know the easy-to-remember domain name address

, and its corresponding conversion work is left to the domain name server. A domain name server is a server that provides conversion services between IP addresses and domain names.
--------------------------------------
 

Guess you like

Origin blog.csdn.net/fzy18757569631/article/details/132363062