Does DNS work like blockchain
Domain name system (abbreviated as DNS, domain name is translated into domain name) is a core service of the Internet. As a distributed database that can map domain name and IP address to each other, it can make people more convenient to access the Internet without remembering the IP string that can be read directly by the machine
domain name system (DNS) is a system to solve the problem of machine naming on the Internet. Just like you need to know how to get to other people's home before visiting a friend, when a host wants to visit another host on the Internet, you must first know its address. The IP address in TCP / IP is composed of four numbers separated by ".", which is not as convenient to remember as the name. Therefore, the domain name system is used to manage the corresponding relationship between name and IP
resolution process, for example, a domain name: abc.com, is to see the current HTTP service, if you want to visit the website, you need to resolve, first in the domain name registry there through a special DNS server to a web server fixed IP: 211.214.1.xxx, and then, through the web server to receive the domain name, Map the domain name abc.com to this server. Then, enter the domain name abc.com to access the content of the website
people are used to memorizing domain names, but they only recognize each other's IP addresses. The conversion between domain names and IP addresses is called domain name resolution. Domain name resolution needs to be completed by a special domain name resolution server, and the whole process is automatic
Domain name resolution protocol (DNS) is used to map the host domain name and e-mail address which are easy for people to remember to IP address which is easy for computer to recognize. DNS is a C / S structure, the client is used to find a name corresponding to the address, and the server is usually used to provide query services for others2. Meaning: the process of getting the IP address corresponding to the host name through the host name is called domain name resolution (or host name resolution). In the process of domain name resolution, the static domain name resolution method can be used first. If the static domain name resolution is not successful, the dynamic domain name resolution method can be used again. The domain name is the identity on the Internet and is the unique identification resource that cannot be repeated; The globalization of Internet makes domain name a national strategic resource to mark a country's sovereignty
3. The resource records of a zone are updated to a single primary DNS server (called the primary DNS server) manually or automatically. The primary DNS server can be the authoritative name server of one or several zones.
is the abbreviation of domain name system
(domain
name
server)
which is used to name the computer and network services organized into the domain hierarchy. On the Internet, the domain name and IP address are one to one (or one to many). Although the domain name is easy for people to remember, the machines can only know each other's IP address. The conversion between them is called domain name resolution. Domain name resolution needs to be completed by a special domain name resolution server. DNS is the server for domain name resolution
DNS
naming is used in
Internet
and other
TCP / IP
networks to find computers and services through user-friendly names. When the user enters a
DNS
name in the application, the DNS
service can resolve the name to other information related to it, such as
IP
address. Because, when you enter the Internet address, is through the domain name resolution system to find the corresponding IP address, so that you can access the Internet. In fact, the ultimate direction of domain name is IP
in IPv4, IP is composed of 32-bit binary numbers. Divide these 32-bit binary numbers into 4 groups, with 8 binary numbers in each group. Convert these 8 binary numbers into decimal numbers, which is the IP address we see. The range is 0-255. Because the maximum range of 8 binary numbers converted into decimal numbers is 0-255. In IPv6, which has been put into trial operation and will replace IPv4 in the future, 128 bit binary number will be used to represent an IP address
as we all know, when we are surfing the Internet, we usually input the following information, such as:
www.sina.com.cn
such a web address is actually a domain name, and computers on our computer network can only identify each other with IP addresses. For another example, if we go to a web server to request a web page, we can enter the web address or the corresponding IP address in the browser. For example, if we want to go to Sina, we can enter in the address bar of ie:
www.sina.com.cn
you can also enter this kind of IP address
218.30.66.101
but we can't remember or say it's hard to remember this kind of IP address, So with the domain name, such a domain name will make it easy for us to remember
DNS: domain
name
system
domain name management system
domain name is composed of a string of words or abbreviations separated by dots, and each domain name corresponds to a unique IP address. This naming method or such a system for managing domain names is called domain name management system
DNS: domain
name
server
domain name server
although domain name is easy for people to remember, computers in the network can only know each other's IP addresses, and the conversion between them is called domain name resolution (such as
above) www.sina.com.cn
and
218.30.66.101
), Domain name resolution needs to be completed by a special domain name resolution server. DNS is the server for domain name resolution. thank you!
DNS is the abbreviation of domain name system, which is used to name computers and network services organized into a domain hierarchy. DNS naming is used in Internet and other TCP / IP networks to find computers and services through user-friendly names. When a user enters a DNS name in an application, the DNS service can resolve the name to other information related to it, such as an IP address. Because, when you enter the Internet address, is through the domain name resolution system to find the corresponding IP address, so that you can access the Internet. In fact, the ultimate direction of domain name is IP
IP is composed of 32-bit binary numbers. Divide these 32-bit binary numbers into 4 groups, with 8 binary numbers in each group, and convert these 8 binary numbers into decimal numbers, which is the IP address we see. Its range is from 1 to 255. Because the maximum range of 8 binary numbers converted into decimal numbers is 1-255.
DNS naming is used in Internet and other TCP / IP networks to find computers and services through user-friendly names. When a user enters a DNS name in an application, the DNS service can resolve the name to other information related to it, such as an IP address. Because, when you enter the Internet address, is through the domain name resolution system to find the corresponding IP address, so that you can access the Internet. In fact, the ultimate direction of domain name is IP
extended materials
DNS (domain name system), as a distributed database of domain name and IP address mapping on the world wide web, enables users to access the Internet more conveniently, without having to remember the IP strings that can be read directly by the machine. The process of getting the IP address corresponding to the domain name through the domain name is called domain name resolution (or host name resolution). DNS protocol runs on top of UDP protocol, using port number 53. In RFC documents, RFC 2181 specifies DNS, RFC 2136 describes the dynamic update of DNS, and RFC 2308 describes the reverse caching of DNS queries
basic working principle
to understand how DNS servers operate, it is necessary to understand the domain name hierarchy itself. At the top of this level is the root domain; Information on this domain resides on selected root servers from across the Internet. Below the root domain is the top-level domain, which is the country code or institution code. Examples of country codes include SG (Singapore) and Ca (Canada); The organization code includes com, e, gov and net. Below the top-level domain are the secondary domains (whitehouse.gov, microsoft.com, infoamp.net, etc.), followed by the third level domain, and so on
domain name application must go through NIC of network information center. Before your request is accepted, first of all, make sure that the registered name has not been used. Second, make sure that there are at least two servers that can provide new domain name services. When the NIC finally agrees to the request, it recognizes your secondary domain and places a pointer to that name on the server where the top domain is located. For example, if you apply for the domain name my.com, NIC will put my into the COM domain server system and point it to the two specific servers
when you apply to the primary domain, you can add as many subdomains as you want. You can name your host red.my.com and the other blue.my.com. In order to access your subdomain anytime and anywhere on the Internet, information about red.my.com and blue.my.com must be configured on the mybiz.com server. Each server in this hierarchy contains a DNS database, and its entry is called ns record. Each such record contains the name of the domain or subdomain, plus the name of the host as the domain or subdomain server. Similarly, NIC will configure the root server according to the registration information, so that it clearly knows that it can find the information of my.com and all its subdomains on DNS server dns.my.com
now let's see how it all works. Someone sees a link red.my.com on the web page pointing to your latest subdomain, and then makes their local DNS server work by clicking on the link. First, the server searches its own DNS database. If it cannot find it, it will use the address of the root server contained in its own database (all DNS servers must set the index). The local DNS server then makes a request to the root server. The root server looks up the com top-level domain in its DNS database, and then it replies to the DNS server with NS records, telling it that it can query my.com information from dns.my.com. In this process, the DNS server buffers the NS record. If anyone in the University requests the corresponding IP address translation of my.com, dns.my.com, blue.mybiz.com next time, the relevant information can be obtained in the local cache
like other Internet protocols, DNS is governed by several Internet RFC (request for comment) specifications (initially RFC 882, 883 and 973). However, to understand the working principle of DNS server, the best reference standard is rfc1035.
first, the packets will go to the DNS server through the gateway. Through DNS to resolve the IP corresponding to the domain name. After returning,
read the corresponding content in the website through IP
hope to help you, hope to adopt.
section 2: get the best DNS
section 3: set DNS locally
section 4: set DNS for broadband connection (dial-up Internet, that is, Pengyu without router)
section 1: little knowledge, can be ignored, look at Section 2. If you don't know, you can understand. What I'm talking about is not very good, don't spray
IP: IP is similar, 218.30.118.210. It's taught in primary schools, middle schools and high schools. I hope the school can talk about it seriously or read the book and listen to the class well.
domain name: yx.pc6.com www.pc6.com This is the domain name. You don't need to talk about the primary and secondary domain names. You just need to know that they are domain names. Some domain names can be accessed directly, and the white list of domain names is no longer mentioned, Otherwise, it's not over...
DNS: what does it do and what does it affect?
DNS is used to resolve domain names. IP is the same as address. You can't access the specified network if you don't know IP, but IP is too hard to remember. For example, if you want to go to PC6 download station, enter www.pc6.com You have to ask DNS first www.pc6.com Where is it, and after DNS tells you, If he tells you the wrong address, you will go to other websites or not go at all. The problem is DNS hijacking. If there is a big delay between you and the DNS server and DNS does not return the address, then the Internet speed will be greatly reced. Before DNS returns the address, you are in standby mode, Only if you give the address can you continue the
second paragraph: how to choose the best DNS
Google's open DNS is 8.8.8.8 and 8.8.4.4, because it is abroad, the delay is larger in some areas, and may slow the page after changing.
What do other DNS addresses think about the delay? Not afraid, press win key + R (what, don't know what win key is? This is
), and then enter CMD, press OK, and a black box pops up. For example, to query the delay with 114.114.114.114, enter Ping
114.114.114
- t, and then press enter after entering. From the figure, we can see that the delay between me and this DNS address is 28 ~ 30, which is very fast, Generally, if the delay is more than 50, don't use it.
third paragraph: set DNS.
finally, it's time to set DNS. Win7 is slightly different from XP. Win8 is the same as win7 in setting method.
XP: because XP is not installed, a text description, find the desktop, right-click the network neighbor, click properties, and find the local connection. I use the wireless connection now, so I click the wireless connection, When you set up a local connection, it's ok if there is a problem with exclamation mark, as long as you don't show disconnection. Here, take the wireless connection as a local connection. Right click on it and click Properties
to find the Internet
protocol version. XP only has this one. Win7 has 4 and 6. Click 4 to use the DNS address below and enter one, Here, I enter 114.114.114.114, and click to confirm that the DNS change is successful. If there is a problem, I can change it back to the automatic DNS acquisition step by step to restore the default
win7: how to find a local connection? Right click the network properties of the desktop, find and change the adapter settings, and then click
the next step is the same as the XP settings above, looking back to the fourth paragraph: broadband connection (dial-up Internet, that is, Pengyu without router) set DNS
to find the broadband connection, he is on the desktop or near the local connection, friends with router can ignore
click the network selection card, Then find the protocol as shown in the figure, click the attribute, and set it as shown in the figure. After setting, disconnection and reconnection will take effect.
it is recommended to open the CMD, enter ipconfig
/ flushdns, and clear the DNS cache. If not, restart the computer after setting DNS.