Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.

Slides:



Advertisements
Similar presentations
Distributed Web Systems Name Services Lecturer Department University.
Advertisements

EECS122 - UCB 1 CS 194: Distributed Systems: Naming Computer Science Division Department of Electrical Engineering and Computer Sciences University of.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Term B10.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Spring 2012 Spring 2012.
2: Application Layer1 FTP, SMTP and DNS. 2: Application Layer2 FTP: separate control, data connections r FTP client contacts FTP server at port 21, specifying.
20101 The Application Layer Domain Name System Chapter 7.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts, routers: –IP address (32 bit) - used for addressing datagrams –“name”, e.g., gaia.cs.umass.edu.
Application Layer At long last we can ask the question - how does the user interface with the network?
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach, 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.
Application Layer session 1 TELE3118: Network Technologies Week 12: DNS Some slides have been taken from: r Computer Networking: A Top Down Approach.
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
DOMAIN NAME SYSTEM. Introduction  There are several applications that follow client server paradigm.  The client/server programs can be divided into.
DNS. Outline r Domain Name System r DNS Hierarchy r Resolution.
Name Resolution and DNS. Domain names and IP addresses r People prefer to use easy-to-remember names instead of IP addresses r Domain names are alphanumeric.
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
Distributed Computing COEN 317 DC2: Naming, part 1.
CS 4396 Computer Networks Lab
NAME SERVICES. Names and addresses File names /etc/passwd URLS Internet domain names—dcs.qmw.ac.uk Identifiers- ROR, NFS.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Domain Name System (DNS)
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 10 Omar Meqdadi Department of Computer Science and Software Engineering University.
1 Naming with the Domain Name System. 2 Internet Applications Domain Name System Electronic mail IP telephony Remote login File transfer All use client-server.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
CS 471/571 Domain Name Server Slides from Kurose and Ross.
Domain names and IP addresses Resolver and name server DNS Name hierarchy Domain name system Domain names Top-level domains Hierarchy of name servers.
DNS: Domain Name System
1 DNS: Domain Name System People: many identifiers: m SSN, name, Passport # Internet hosts, routers: m IP address (32 bit) - used for addressing datagrams.
Chapter 2 Application Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April A note on the use.
1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
Distributed Computing COEN 317 DC2: Naming, part 1.
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
Fall 2007cs4251 Distributed Computing Umar Kalim Dept. of Communication Systems Engineering 10/12/2007.
1 Kyung Hee University Chapter 18 Domain Name System.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
Configuring Name Resolution and Additional Services Lesson 12.
Domain Name System (DNS). DNS Server Service Overview of Domain Name System What Is a Domain Namespace? Standards for DNS Naming.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
CS 3830 Day 10 Introduction 1-1. Announcements r Quiz #2 this Friday r Program 2 posted yesterday 2: Application Layer 2.
EE 122: Lecture 20 (Domain Name Server - DNS) Ion Stoica Nov 15, 2001 (* based on the some on-line slides of J. Kurose & K. Rose and of Raj Jain)
Lecture 5: Web Continued 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]
Net 221D:Computer Networks Fundamentals
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
COMP 431 Internet Services & Protocols
Networking (Cont’d). Congestion Control l Is achieved by informing nodes along a route that congestion has occurred and asking them to reduce their packet.
So DNS is A client-server application that maps domain names into their corresponding IP addresses with the help of name servers. Mapping domain names.
Ch 2. Application Layer Myungchul Kim
CSEN 404 Application Layer II Amr El Mougy Lamia Al Badrawy.
Spring 2006 CPE : Application Layer_DNS 1 Special Topics in Computer Engineering Application layer: Domain Name System Some of these Slides are.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Understand Names Resolution
Introduction to Networks
Chapter 9: Domain Name Servers
Chapter 25 Domain Name System.
DNS.
Lecture Computer Networks DNS (Domain Name System)
EE 122: Domain Name Server (DNS)
Bina Ramamurthy Chapter 9
Bina Ramamurthy Chapter 9
Bina Ramamurthy Chapter 9
DNS: Domain Name System
16, May, 2010 Baseer Ahmad Baheer
Chapter 25 Domain Name System.
The Application Layer: Sockets, DNS
FTP, SMTP and DNS 2: Application Layer.
Presentation transcript:

Ch-9: NAME SERVICES By Srinivasa R. Gudipati

To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory & Discovery Services Jini Discovery Service

Fundamentals of Naming Services What is Naming Service? It is a distinct service that is used by client processes to obtain attributes such as the addresses of resources or objects when given their names.

Fundamentals of Naming Services A name is said to be “pure” when it can not be interpreted as bit patterns. Where as non-pure names contain information about the object that they name. The association between name and object is called “binding”. Names are bound to “attributes” of the named objects. One key attribute is “address” of that object.

Fundamentals of Naming Services A name service stores a collection of one or more naming contexts – sets of bindings between textual names and attributes for objects such as users, computers.. The major operation that a name service supports is to resolve a name – that is, look up attributes from a given name.

Fundamentals of Naming Services What is Name Space? A Name Space is the collection of all valid names recognized by a particular service. -Hierarchic Name Space: Internal structure of a name represents its position in a hierarchic name space. Eg: Internet domain names. -File Name Space: Names are chosed from a flat set of numeric or symbolic identifiers.

Name Resolution: Navigation Resolution is an iterative process whereby a name is repeatedly presented to naming contexts. The process of locating naming data from among more than one name server in order to resolve a name is called “Navigation”.

Name Resolution: Navigation Type of Navigations: 1. Iterative Navigations 2. Non-Recursive Navigation 3. Recursive Navigation

Name Resolution: Navigation Iterative Navigation: Client NS2 NS1 NS

Name Resolution: Navigation Non-Recursive Navigation: Client NS2 NS1 NS

Name Resolution: Navigation Recursive Navigation: Client NS2 NS1 NS

The Domain Naming System (DNS) The DNS is 1) A distributed database implemented in a hierarchy of name servers and 2) an application-layer protocol that allows hosts and name servers to communicate in order to translate hostnames to IP addresses.

The Domain Naming System (DNS) Some of the important services provided by DNS are: 1. Host Aliasing: A host with a complicated hostname can have one or more alias names. 2. Mail server aliasing: 3. Load distribution:

The Domain Naming System (DNS) The problems with centralized and single server design: 1. A single point of failure 2. Traffic volumes 3. Distant centralized database 4. Maintenance

The Domain Naming System (DNS) Domain Names: The inter net DNS name space is partitioned both organizationally and according to geography. The top-level organization domains in use today across the internet are: Com – Commercial Organization Edu – Universities and other educational institutions Gov – US governmental agencies Net – Major network support centers Org – Organizations not mentioned above

The Domain Naming System (DNS) Three types of Name Servers DNS use: Local Name Severs: Such as a university, an academic department, an employee’s company. When a host issues a DNS query message, the message is first sent to host’s local name server.

The Domain Naming System (DNS) Root Name Sever: In the internet there are a dozen or so root name servers most of which are located in North America. When a local name server can not immediately satisfy a query from a host, the local name server behaves a DNS client and queries one of the root name server.

The Domain Naming System (DNS) The Domain Naming System (DNS) Authoritative Name Sever: Every host is registered with authoritative name server. Typically authoritative name server for a host is a name server in the host’s local ISP. By definition, a name server is authoritative for a host if it always has a DNS record that translates the host’s hostname to that host’s IP address. When authoritative server is queried by root server, the authoritative name server responds with a DNS reply that contains the requested mapping.

The Domain Naming System (DNS) The Domain Naming System (DNS) Recursive queries to obtain the mapping for gaia.cs.umass.edu Requesting Host surf.eurecom.fr Local Name Server dns.eurocom.fr Root Name Server Authoritative Name Server dns.umass.edu Gaia.cs.umass.edu

The Domain Naming System (DNS) The Domain Naming System (DNS) Recursive queries with an iterermediate name server between the root and autoritative name server 1 2 Requesting Host surf.eurecom.fr Local Name Server dns.eurocom.fr Root Name Server Intermediate Name Server dns.umass.edu Gaia.cs.umass.edu Authoritative Name Server dns.cs.umass.edu

The Domain Naming System (DNS) The Domain Naming System (DNS) A query chain with Recursive and iterative quieries 1 2 Requesting Host surf.eurecom.fr Local Name Server dns.eurocom.fr Root Name Server Intermediate Name Server dns.umass.edu Gaia.cs.umass.edu 56 8 Authoritative Name Server dns.cs.umass.edu Iterated query

The Domain Naming System (DNS) DNS Record: The name servers that together implement the DNS distributed database, store “Resource Records (RR)” for the hostname to IP address mappings. A resource record is a four-tuple that contains the following fields: (Name, Value,Type,TTL)

The Domain Naming System (DNS) DNS Record: TypeNameValue AHostnameIP Address NSDomainHostname of the Authoritative server CNAMEAlias hostnameCanonical hostname MXAlias HostnameHostname of mailserver

The Domain Naming System (DNS) DNS Caching: DNS extremely exploits caching in order to improve the delay performance and to reduce the number of DNS messages in the network. When a name server receives a DNS mapping for some hostname, it caches the mapping in local memory (disk/RAM) while passing the message along the name server chain.

Directory and Discovery Services: A service that stores collections of bindings between names and attributes and that looks up entries that match attribute-based specifications is called “directory service”. A directory service returns attributes of any objects found to match some specified attributes.

Directory and Discovery Services: A discovery service is a directory service that registers the services provided is a spontaneous networking environments. A discovery service provides an interface for automatically registering and de-registering services, an well as an interface for clients to look up the services that they require from those that are currently available.

Jini Discovery Service Three main components: Client, Lookup service, Service Provider

Jini Discovery Service Discovery: A Service provider looks for a Lookup service.

Jini Discovery Service Join: The service Provider registers a service Object and its service of attributes with the Lookup service.

Jini Discovery Service Lookup : A Client looks for a service over its Java type and if necessary different service of attributes. A copy is sent to the Client, with which it can communicate with the looked for service:

Jini Discovery Service Finished : With the help of the service Object can interact the Client directly with the service: