找回密码
 立即注册
邮电通讯系统 2022-07-11 34 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
DNS概述DNS(DomainNameSystem)即域名体系,是一种用于TCP/IP使用程序的分布式数据库,它提供主机姓名(域名)和IP地址之间的变换及有关电子邮件的选路信息,其端口号为53。DNS选用客户服务器方法,当某一个使用进程需要将主机名映射为IP地址时,该使用进程就变成域名体系DNS的一个客户,并将待变换的域名放在DNS恳求报文中发给本地域名服务器。本地域名服务器在查找域名后,将对应的IP地址放在回答报文中回来。使用进程取得目的主机的IP地址后即可进行通讯。2DNS的作业原理下面用一个详细的比如来说明DNS的作业进程,如图1所示,先发动Rlogin客户程序,然后连接到一个坐落别的域的Rlogin服务器。图1DNS的作业进程1)客户程序发动后,调用它的姓名解析器函数将咱们键入的主机名变换为一个IP地址,于是,一个DNS查询报文被送往一个根服务器。2)由根服务器回来的呼应中包括的是Rlogin服务器所在域的姓名服务器名。3)客户端的姓名解析器向Rlogin服务器的姓名服务器重发上述DNS查询报文。4)回来的应对中包括Rlogin服务器的IP地址

(DNS Overview DNS (DomainNameSystem) is a domain name system, which is a distributed database for TCP/IP applications. It provides conversion between host names (domain names) and IP addresses and routing information about e-mails. The number is 53. DNS uses the client server method. When a user process needs to map a host name to an IP address, the user process becomes a client of the domain name system DNS, and sends the domain name to be converted in a DNS request message to the local Domain Name Server. After the local domain name server looks up the domain name, it returns the corresponding IP address in the reply message. After using the process to obtain the IP address of the destination host, communication can be performed. The working principle of 2DNS A detailed example is used to illustrate the working process of DNS. As shown in Figure 1, first start the Rlogin client program, and then connect to an Rlogin server located in another domain. Figure 1 DNS work process 1) After the client program starts, it calls its name resolver function to convert the host name we type into an IP address, so a DNS query message is sent to a root server. 2) The response returned by the root server includes the name server name of the domain where the Rlogin server is located. 3) The name resolver of the client resends the above DNS query message to the name server of the Rlogin server. 4) The returned response includes the IP address of the Rlogin server)

[下载]10463419310.rar




上一篇:智能备份
下一篇:一种基于SNMP的以太网拓扑自动发现算法