版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、2022-5-1Computer Networks - 071/60COMPUTER NETWORKSChapter 07The Application Layer2022-5-1Computer Networks - 072/60Chapter 7 The Application Layer Domain Name ServerElectronic MailWorld Wide WebMultimedia 2022-5-1Computer Networks - 073/607.1 DNS-Domain Name System MotivationsWe are sending email t
2、o rather than to syangIn 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.2022-5-1Computer Networks - 074/60DNSDomain Name Sys
3、tem 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 hosts IP
4、 address. How DNS worksAn 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.2022-5-1Comput
5、er Networks - 075/60A 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,
6、 including one for storing the binding between a name and an IP address.2022-5-1Computer Networks - 076/607.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
7、onto resource records. A resource record is a five-tuple: Domain_name Time_to_live Class Type Value2022-5-1Computer Networks - 077/602022-5-1Computer Networks - 078/60 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
8、 email2 IN A email3 IN A infonetv6 IN AAAA 2001:da8:d800:75:202:38:75:75; Division of Teaching Affairs$ORIGIN . IN A 2TLMIS IN A 6mail IN A 2www IN A 2dtal CNAME .$ORIGIN . IN A IN NS .dnsserver IN A
9、2022-5-1Computer Networks - 079/607.1.3 Name Servers To avoid the problems associated with having only a single source of information, the DNS name space is divided into non-overlapping zones. A zone will have one primary name server, which gets its information from a file on its disk, and one or mo
10、re secondary name servers, which get their information from the primary name server. 2022-5-1Computer Networks - 0710/60Name Servers (2) When a resolver has a query about a domain name, it passes the query to one of the local name servers. If the domain being sought falls under the name server, it r
11、eturns the authoritative resource records. If the domain is remote and no information about the requested domain is available locally, the name server sends a query message to the top-level name server for the domain requested. Ex. A resolver looks up a remote name in eight steps.2
12、022-5-1Computer Networks - 0711/60Observations Note: There can be several servers per zone. Most of the time, secondary masters pull in their information from a primary master. The latter gets its info from domain administrators. A resolver is capable of sending DNS queries to a name server. A resol
13、ver is often just a collection of library routines that can be linked to an application. What DNS really does is map symbolic names for machines onto their IP addresses. It does not help locate people, resources, services, or objects. LDAP (Light-weight Directory Access Protocol) has been defined, w
14、hich is a simplified version of X.500 directory service. It organizes information as a tree and allows searches on different components. It can be regarded as a “white pages” telephone book. 2022-5-1Computer Networks - 0712/607.2 Electronic Mail Email Architecture and Services Basic functionsComposi
15、tion, Transfer, Reporting, Displaying, Disposition2022-5-1Computer Networks - 0713/60Envelopes and messagesEnvelopes and messages. (a) Paper mail. (b) Electronic mail.2022-5-1Computer Networks - 0714/60Reading E-mailAn example display of the contents of a mailbox.2022-5-1Computer Networks - 0715/60M
16、essage Formats RFC 822RFC 822 header fields related to message transport.2022-5-1Computer Networks - 0716/60Message Formats RFC 822 (2)Some fields used in the RFC 822 message header.2022-5-1Computer Networks - 0717/60MIME Multipurpose Internet Mail Extensions The basic idea of MIME is to continue to
17、 use the RFC 822 format, but to add structure to the message body and define encoding rules for non-ASCII messages. MIME messages can be sent using the existing mail programs and protocols. All that has to be changed are the sending and receiving programs. 2022-5-1Computer Networks - 0718/60The MIME
18、 types and subtypes defined in RFC 2045.2022-5-1Computer Networks - 0719/60A multipart message containing enriched and audio alternatives.2022-5-1Computer Networks - 0720/60Message Transfer - SMTP2022-5-1Computer Networks - 0721/60Final Delivery(a) Sending and reading mail when the receiver has a pe
19、rmanent Internet connection and the user agent runs on the same machine as the message transfer agent. (b) Reading e-mail when the receiver has a dial-up connection to an ISP.2022-5-1Computer Networks - 0722/60POP3: Post Office Protocol V3 POP3 protocol goes through three stages in sequence: authori
20、zation, transactions, update. Ex: Using POP3 to fetch three messages.2022-5-1Computer Networks - 0723/60IMAP: Internet Message Access ProtocolA comparison of POP3 and IMAP.2022-5-1Computer Networks - 0724/607.3 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP
21、 The HyperText Transfer Protocol Performance Enhancements The Wireless Web2022-5-1Computer Networks - 0725/607.3.1 Architectural OverviewThe parts of the Web model.2022-5-1Computer Networks - 0726/60The client side and the server side(a) A browser plug-in. (b) A helper application.A multithreaded We
22、b server with a front end and processing modules2022-5-1Computer Networks - 0727/60URLs Uniform Resource Locators What is the page called? Where is the page located? How can the page be accessed? URL is the solution chosen identifies pages in a way that solve all three problems at once. Some common URLs are listed as:2022-5-1Computer Networks - 0728/607.3.2 Static Web Documents HTML HyperText Markup Language(a) The HTML for a sample Web page. (b) The formatted page.(b)2022-5-1Computer Networks - 0729/60H
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 数学一押题卷(2024考研全国统考·历年真题分类汇编)
- 2025数学二历年真题(冲刺提分版)
- 2026年中职(农村电气技术)电路安装阶段测试题及答案
- 农资营销考试题及答案
- 财务英语考试题及答案库
- 数理方法考试题型及答案
- 衡中物理考试题及答案
- 2026年高职第三学年(汽车检测与维修技术)汽车空调检修试题及答案
- 广西机电考试题及答案
- 20MW光伏电站项目可行性研究报告
- 2026年意识形态测试题及答案
- 新版部编人教版六年级上册语文全册新优教学设计(2026年秋改版教材)
- 2025-2026年网络安全法律法规与标准知识点巩固习题
- 变电土建设计培训
- 新版2026秋统编版(新版)小学道德与法治四年级上册(全册)知识点清单梳理
- 2026年部编版新教材道德与法治四年级上册全册教案设计(共4个单元含教学计划)
- 2025 成人失禁性皮炎护理指南(中文版)+预防与处理规范
- 设备完好性管理制度
- T/BJHWXH 001-2022电动三轮环卫机具技术指引
- 登山健身步道建设投标方案
- 学习委员竞选
评论
0/150
提交评论