It’sinaformateasiertounderstand_read_rememberbypeople_第1页
It’sinaformateasiertounderstand_read_rememberbypeople_第2页
It’sinaformateasiertounderstand_read_rememberbypeople_第3页
It’sinaformateasiertounderstand_read_rememberbypeople_第4页
It’sinaformateasiertounderstand_read_rememberbypeople_第5页
已阅读5页,还剩15页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、EE 122: Domain Name Server (DNS)Ion StoicaNov 25, 2002(* based in part on on-line slides by J. Kurose & K. Rose and Raj Jain)1istoicaNames & AddressesWhat is a name?What is an address?What is the difference between names and addresses?2istoicaInternet Centric ViewAddresses: Says how to reach an obje

2、ct it has location semantics associated to itIts in a format easy to process by computers Name: Does not have any location semantics associated to itIts in a format easier to understand/read/remember by peopleExamples:IP address: 09Name: 3istoicaName ServiceName space: define the set of possible nam

3、esHierarchical (e.g., Unix and Windows file names)Flat Bindings: the mapping between names and values (e.g., addresses) Bindings can be implemented by using tablesResolution: procedure that, when invoked with a name, returns the corresponding valueName server: specific implementation of a resolution

4、 mechanism that is available on the network and that can be queried by sending messages4istoicaGeneral ViewIn general there are multiple mappingsHost name: IP address: 09 Ethernet MAC address: 8.90.12 DNS resolutionARP (Address Resolution Protocol)5istoicaMappingMultiple names can map onto the same

5、addressExample: and maps to the same machine (i.e., the same IP address)One name can map onto multiple addressesExample: can be mapped to multiple machines6istoicaName Hierarchyrooteducomgovmilorgnetukfrberkeleycmueecssimssonoma7istoicaName HierarchyUnique domain suffix is assigned by the Internet A

6、uthorityThe domain administrators have complete control over the domainNo limit on the number of subdomains or number of levelsName space is not related with the physical interconnection Geographical hierarchy is allowed (e.g., cnri.reston.va.us)A name could be a domain or an individual objects 8ist

7、oicaTop Level DomainsDomain Name AssignmentcomCommercialeduEducational govGovernment milMilitary netNetwork orgOther organizationscountry codeau, uk, ca, 9istoicaDNS Name ServersWhy not centralize DNS? Single point of failureTraffic volumeDistant centralized databaseMaintenanceDoesnt scale!10istoica

8、Server Hierarchy: ZonesA zone corresponds to an administrative authority that is responsible for that portion of the hierarchyrooteducomgovmilorgnetukfrberkeleycmueecssimsdivine11istoicaServer HierarchyServer are organized in hierarchiesEach server has authority over a portion of the hierarchyA sing

9、le node in the name hierarchy cannot be splitA server maintains only a subset of all namesIt needs to know other servers that are responsible for the other portions of the hierarchy12istoicaServer HierarchyAuthority: each server has the name to address translation table for all names in the name spa

10、ce it controlsEvery server knows the rootRoot server knows about all top-level domains13istoicaDNS Name ServersNo server has all name-to-IP address mappingsLocal name servers:Each ISP (company) has local (default) name serverHost DNS query first go to local name serverAuthoritative name servers:For

11、a host: stores that hosts (name, IP address)Can perform name/address translation for that hosts name 14istoicaDNS: Root Name ServersContacted by local name server that can not resolve nameRoot name server:Contacts authoritative name server if name mapping not knownGets mappingReturns mapping to loca

12、l name server Dozen root name servers worldwide15istoicaSimple DNS ExampleHost wants IP address of 1. Contacts its local DNS server, 2. contacts root name server, if necessary3. Root name server contacts authoritative name server, , if necessary requesting hostroot name serverauthorititive name serv

13、erlocal name server12345616istoicaDNS ExampleRoot name server:May not know authoritative name serverMay know intermediate name server: who to contact to find authoritative name server?requesting hostroot name serverlocal name server123456authoritative name serverintermediate name server(edu server)7

14、817istoicaDNS: Iterated QueriesRecursive query:Puts burden of name resolution on contacted name serverHeavy load?Iterated query:Contacted server replies with name of server to contact“I dont know this name, but ask this server”requesting hostroot name serverlocal name server123467authoritative name

15、serverintermediate name server(edu server)58iterated query18istoicaDiscussionRobustnessUse multiple replicas, butwhat if someone mounts a denial of service attack to all root servers?Performance:Use caching to speed-up subsequent queries to the same nameWhat about update/notify?Mechanisms under design by IETF (R

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论