yesterday afternoon, while I was free, I reviewed what I learned last month. Windows2008 R2 Server 's entire curriculum, from user groups to iis+php+mysql+phpmyadmin builds.
before I saw it in When a DNS server is set up on Windows , when the domain name is explained, it suddenly occurred to the contact in the phone, suddenly found that the principle is so similar to each other. Here I share the new solution based on mobile phone contacts , I hope you can have some new understanding of DNS.
Briefly divide the structure into three pieces: fixed, mobile, interconnected.
Fixed
The first time we used a home landline, because there were so many people in contact, we usually put their phone number in the brain or in a book.
At first, because there were few computers networked in the world at the time, the interconnection between machines was direct input IP address. Just like our landline direct dialing.
Move
With the development of the Times the mobile phone appears, and more than one add the function of the contact person, we can add the contact name, phone number to the phone or memory card. Then we can make a phone call by entering the name of the contact person.
computer is also with the development of the Times, more and more computers in the network, direct input the traditional way of IP interconnection has been unrealistic, when people invented the domain name and IP correspondence, which is similar to the phone name and number corresponding to this mode, at first the computer because the number is not particularly large, but also enough to let the user can not remember all the IP address, At that time people's approach is to manually add the domain name and corresponding IP in the Hosts file of the computer, and later develop to automatically update the hosts file over the network .
Interconnection
At this time the mobile network has been everywhere, here assume a situation (is my image, feel absurd words can be skipped): There is a number on the Web server, we have to add their own number and name, then our phone can not store anyone's contact information, Just enter the details of the other person, such as name and characteristics, we can directly dial his number. As long as the user is within this number server, we can contact in this way. The purpose of this is to do not have to store any contact information in the phone, the data entrusted to the Internet, a bit similar to the first in the cloud backup what, just similar.
This period of computer with the advent of the Internet, before the practice of updating the Hosts file through the network , due to the explosion of computer users caused the hosts file is extremely large, The user's own computer through the Hosts file query corresponding IP is very expensive resources, this time people think of one way is by creating a dedicated domain name and IP resolution of the server, to automatically resolve the domain name to an IP address,DNS ( Domain Name System) Server was born, and then because the user is growing too fast, the original DNS server can not respond to, and then the original DNS server to improve the structure of the existing , become the current distributed DNS server .
PS: Although the application of the last connected phone is a bit of a fantasy, but similar to the mobile phone using the scene of the computer the DNS server is actually present. Now you should understand that the function of the DNS server is to reduce the user burden: To resolve the user input domain name to the corresponding IP address in order to connect. Although the function is very simple, but this simple function behind really contains many people for years sweat.
This article is from "Zhang Fan-it's fantasy drifting" blog, please be sure to keep this source http://chawan.blog.51cto.com/9179874/1543051