ch7(第七章讲义).ppt

  1. 1、本文档共35页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ch7(第七章讲义).pptch7(第七章讲义).ppt

Computer Networks - 07 COMPUTER NETWORKS Chapter 07 The Application Layer Chapter 7 The Application Layer Domain Name Server Electronic Mail World Wide Web Multimedia 7.1 DNS--Domain Name System Motivations We are sending email to syang@ rather than to syang@ In the ARPANET, hosts.txt lists all the hosts and their IP addresses. DNS: a hierarchical, domain-based naming scheme and a distributed database system, for mapping host names and e-mail destinations to IP addresses. DNS—Domain Name System DNS is the invention of a hierarchical, domain-based naming scheme and a distributed database system for implementing the scheme. Basic idea: Every host has a worldwide unique name that is bound to an IP address. DNS provides namelookup facilities: when given a hostname, it returns that host’s IP address. How DNS works An application program calls a library procedure, the resolver, passing it the name as a parameter. The resolver sends a UDP packet to a local DNS server, which then looks up the name and returns the IP address to the resolver, which then returns it to the caller. A portion of the Internet domain name space A domain name is a path from a leaf node up to the root. A domain is a sub-tree in the domain name space. Each domain can have a set of resource records which are stored (in a file) at name servers. There are different types of records, including one for storing the binding between a name and an IP address. 7.1.2 Resource Records Every domain has a set of resource records associated with it. The most common resource records is just its IP address. The primary function of DNS is to map domain names onto resource records. A resource record is a five-tuple: Domain_name Time_to_live Class Type Value @?????? IN????? SOA???? . . (674 10800 1800 3600000 86400 ) ??? IN????? NS????? . ?????IN????? NS????? . ?????IN????? MX????? 10 . ?????IN????? MX????? 20 . ?????IN????? MX????? 30 . ; 重要服务器 ns????????????? IN????? A?????? email ?????????? IN????? A?????

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档