Download presentation
Presentation is loading. Please wait.
Published byFrederick Elliott Modified over 9 years ago
1
Chapter 31 - Naming with the Domain Name System IP addresses vs. symbolic names Structure of Computer names DNS naming structure DNS server hierarchy An example of Name resolution Sections 31.8 to 31.16 will not be covered
2
Introduction IP assigns 32-bit addresses to hosts (interfaces) –Binary addresses easy for computers to manage –All applications use IP addresses through the TCP/IP protocol software – Difficult for humans to remember: % telnet 134.82.11.70 The Domain Name System (DNS) provides translation between symbolic names and IP addresses DNS is the naming scheme used in the Internet
3
Structure of DNS names Each name consists of a sequence of alphanumeric components separated by periods Examples: – www.eg.bucknell.edu – www.netbook.cs.purdue.edu – charcoal.eg.bucknell.edu Names are hierarchical, with most-significant component on the right Left-most component is computer name
4
DNS naming structure Domain: a part of the computer naming hierarchy used in the Internet. Eg, commercial organization have names registered under the.com domain Top level domains (right-most components; also known as TLDs) defined by global authority
5
DNS naming structure Organizations apply for names in a top-level domain: – bucknell.edu – macdonalds.com Organizations determine own internal structure – cs.stanford.edu – cs.purdue.edu – ie.cuhk.edu.hk
6
Geographic structure Top-level domains are US-centric Geographic TLDs used for organizations in other countries: TLD Country.caCanada.ukUnited Kingdom.frFrance.chSwitzerland.hkHong Kong.cnChina.jpJapan.sgSingapore.au Australia Countries define their own internal hierarchy: ac.uk and.edu.au are used for academic organizations in the United Kingdom and Australia
7
Domain names within an organization Organizations can create any internal DNS hierarchy Authority for creating new subdomains is delegated to each domain Administrator of foobar.com has authority to create soap.foobar.com and candy.foobar.com without having to contact any central naming authority
8
Example DNS hierarchy
9
DNS and client-server computing DNS names are managed by a hierarchy of DNS servers Hierarchy is related to DNS domain hierarchy Root server at top of tree knows about next level servers Next level servers, in turn, know about lower level servers
10
DNS server hierarchy Root server: authority for the top-level domains
11
Name Servers Partition hierarchy into administrative authority responsible for portion of the hierarchy educom princeton … mit csee ux01ux04 physics cisco … yahoonasa … nsfarpa … navyacm … ieee govmilorgnetukfr
12
2 ways of how the organization divides the domain name hierarchy among its 3 DNS servers
13
Example: sending E-mail Name server Mail program User TCP IP 2 cs.princeton.edu 192.12.69.5 3 user @ cs.princeton.edu 1 192.12.69.5 4 5
14
Example: sending E-mail 1. User presents domain name of host (eg, cs.princeton.edu) to an application program (eg, a mail program) 2. Application program (mail program in this example) engage the naming system (name server program) to translate the domain name of host into host address (ie IP address). 3. Application (mail program) opens a connection to the host by presenting its IP address to TCP
15
Summary Domain Name System maps from computer names and IP addresses Important to hide 32-bit IP addresses from humans DNS names are hierarchical and allocated locally
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.