Name Services Vidya Satyanarayanan. Why do we need Name Services?

Slides:



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

Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Naming Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014.
Slides for Chapter 9: Name Services From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley 2001.
NAME SERVICES 1 Name Services From Chapter 9 of Distributed Systems Concepts and Design,4 th Edition, By G. Coulouris, J. Dollimore and T. Kindberg Published.
CS 582 / CMPE 481 Distributed Systems Naming Class Overview Why naming? Terminology Naming Fundamentals Name Services Case Studies –DNS –GNS.
Name Services Jessie Crane CPSC 550. History ARPAnet – experimental computer network (late 1960s) hosts.txt – a file that contained all the information.
Computer Science Lecture 9, page 1 CS677: Distributed OS Today: Naming Names are used to share resources, uniquely identify entities and refer to locations.
Slides for Chapter 9: Name Services From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 4, © Pearson Education 2005.
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 13: Name Services.
Domain Name System: DNS
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
Naming Names in computer systems are used to share resources, to uniquely identify entities, to refer to locations and so on. An important issue with naming.
1 Chapter 9: Name Services From Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edition 3, © Addison-Wesley 2001 Presentation.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
4.4 Naming And Directory Services Lakshmi Narayana Gupta Kollepara 09/20/2009 CSC-8320.
GVHD: Sinh viên thực hiện: Phạm Trần Vũ1- Nguyễn Thị Vân Anh 2- Lê Thị Hồng Hà 3- Vũ Thị Lộc Phương 4- Tăng Thu Hương 5- Huỳnh Thị Kim Trâm 6- Hồ Thị Kim.
Naming And Directory Services Geetika Sharma 09/22/200 8 CSC8320.
Windows Server 2008 Chapter 8 Last Update
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Distributed Computing COEN 317 DC2: Naming, part 1.
Distributed Systems 1 Name Services Dr. Sunny Jeong. Mr. Jerry Li. With Thanks to Prof. G. Coulouris, Prof. A.S.
Lecturer 8: Name Services Haibin Zhu, PhD. Assistant Professor Department of Computer Science Nipissing University © 2002.
Copyright © George Coulouris, Jean Dollimore, Tim Kindberg This material is made available for private study and for direct.
NAME SERVICES. Names and addresses File names /etc/passwd URLS Internet domain names—dcs.qmw.ac.uk Identifiers- ROR, NFS.
1 Chapter 6: Name Services. 2 Introduction Name services and DNS Discovery services Summary.
Cisco Discovery Working at a Small-to-Medium Business or ISP CHAPTER 7 ISP Services Jr.
Name Resolution Domain Name System.
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Computer Science Lecture 9, page 1 CS677: Distributed OS Today: Naming Names are used to share resources, uniquely identify entities and refer to locations.
DNS & X.500.
Computer Networks. IP Addresses Before we communicate with a computer on the network we have to be able to identify it. Every computer on a network must.
1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.
The Directory A distributed database Distributed maintenance.
5.1 Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
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.
Name services By N.Sudhakar Yadav Outline  General concepts  Domain Name System (DNS)  Directory and Discovery Services  Introduction  Jini  Global.
Domain Name System. CONTENTS Definitions. DNS Naming Structure. DNS Components. How DNS Servers work. DNS Organizations. Summary.
Fall 2007cs4251 Distributed Computing Umar Kalim Dept. of Communication Systems Engineering 10/12/2007.
1 Kyung Hee University Chapter 18 Domain Name System.
Configuring Name Resolution and Additional Services Lesson 12.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
TCP/IP (Transmission Control Protocol / Internet Protocol)
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 4: Naming, Trading, and Peer-to-Peer Systems Dr. Michael R. Lyu Computer.
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
Nguyễn Bảo Toàn Bùi Ngọc Sơn Name service.
1 Name services (concepts, DNS, case study X.500)
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
Domain Name System INTRODUCTION to Eng. Yasser Al-eimad
Lecture 9: Name and Directory Servers CDK4: Chapter 9 CDK5: Chapter 13 TVS: Chapter 5.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Name service.
Name Services Updated by Rajkumar Buyya
IMPLEMENTING NAME RESOLUTION USING DNS
Chapter 9: Name Services
Prepared by Dr: Naglaa Fathi Mohammed Soliman
Naming Chapter 4.
Lecture 7: Name and Directory Servers
Lecture 7: Name and Directory Servers
Lecture 8: Name and Directory Servers
Bina Ramamurthy Chapter 9
Bina Ramamurthy Chapter 9
Bina Ramamurthy Chapter 9
Name Services Bina Ramamurthy 5/18/2019 B.Ramamurthy.
Presentation transcript:

Name Services Vidya Satyanarayanan

Why do we need Name Services?

Requirements for name spaces Allow simple but meaningful names to be used Potentially infinite number of names Structured –to allow similar subnames without clashes –to group related names Allow re-structuring of name trees –for some types of change, old programs should continue to work Management of trust

Composed naming domains used to access a resource from a URL file Web server Socket URL Resource ID (IP number, port number, pathname) WebExamples/earth.html8888 DNS lookup (Ethernet) Network address 2:60:8c:2:b0:5a ARP lookup

URI Uniform Resource Identifiers (URI) offer a general solution for any type of resource. There two main classes: URLUniform Resource Locator –typed by the protocol field (http, ftp, nfs, etc.) –resources cannot be moved between domains URNUniform Resource Name –Solves the dangling problem of URL. –Given URN it return the URL. –requires a universal resource name lookup service - a DNS-like system for all resources –Format of URN: urn: : –e.g. urn:ISBN:

Name Resolution: Navigation methods Client A client iteratively contacts name servers NS1–NS3 in order to resolve a name NS2 NS1 NS3 Name servers Used in: DNS: Client presents entire name to servers, starting at a local server, NS1. If NS1 has the requested name, it is resolved, else NS1 suggests contacting NS2 (a server for a domain that includes the requested name). NFS: Client segments pathnames (into 'simple names') and presents them one at a time to a server together with the filehandle of the directory that contains the simple name. Iterative navigation

Non-recursive and recursive server-controlled navigation A name server NS1 communicates with other name servers on behalf of a client Recursive server-controlled client NS2 NS1 NS client NS2 NS1 NS3 Non-recursive server-controlled DNS offers recursive navigation as an option, but iterative is the standard technique. Recursive navigation must be used in domains that limit client access to their DNS information for security reasons.

DNS - The Internet Domain Name System A distributed naming database Name structure reflects administrative structure of the Internet Rapidly resolves domain names to IP addresses –exploits caching heavily –typical query time ~100 milliseconds Scales to millions of computers –partitioned database –caching Resilient to failure of a server –replication

DNS name servers Note: Name server names are in italics, and the corresponding domains are in parentheses. Arrows denote name server entries a.root-servers.net (root) ns0.ja.net (ac.uk) dns0.dcs.qmw.ac.uk (dcs.qmw.ac.uk) alpha.qmw.ac.uk (qmw.ac.uk) dns0-doc.ic.ac.uk (ic.ac.uk) ns.purdue.edu (purdue.edu) uk purdue.edu ic.ac.uk qmw.ac.uk... dcs.qmw.ac.uk *.qmw.ac.uk *.ic.ac.uk *.dcs.qmw.ac.uk *.purdue.edu ns1.nic.uk (uk) ac.uk... co.uk yahoo.com.... authoritative path to lookup: jeans-pc.dcs.qmw.ac.uk

DNS server functions and configuration Main function is to resolve domain names for computers, i.e. to get their IP addresses (Host name resolution) –caches the results of previous searches until they pass their 'time to live' Other functions: –get mail host for a domain –reverse resolution - get domain name from IP address –Host information - type of hardware and OS –Well-known services - a list of well-known services offered by a host –Other attributes can be included (optional)

DNS resource records Record typeMeaningMain contents AA computer addressIP number NSAn authoritative name serverDomain name for server CNAMEThe canonical name for an aliasDomain name for alias SOAMarks the start of data for a zoneParameters governing the zone WKSA well-known service descriptionList of service names and protocols PTRDomain name pointer (reverse lookups) Domain name HINFOHost informationMachine architecture and operating system MXMail exchangeList of < TXTText stringArbitrary text

DNS issues Name tables change infrequently, but when they do, caching can result in the delivery of stale data. –Clients are responsible for detecting this and recovering Its design makes changes to the structure of the name space difficult. For example: –merging previously separate domain trees under a new root –moving sub trees to a different part of the structure (e.g. if Scotland became a separate country, its domains should all be moved to a new country-level domain.

Directory and discovery services Directory service:- 'yellow pages' for the resources in a network –Retrieves the set of names that satisfy a given description –e.g. X.500, LDAP, MS Active Directory Services (DNS holds some descriptive data, but: –the data is very incomplete – DNS isn't organised to search it) Discovery service:- a directory service that also: –is automatically updated as the network configuration changes –meets the needs of clients in spontaneous networks (Section 2.2.3) –discovers services required by a client (who may be mobile) within the current scope, for example, to find the most suitable printing service for image files after arriving at a hotel. –Examples of discovery services: Jini discovery service, the 'service location protocol', the 'simple service discovery protocol' (part of UPnP), the 'secure discovery service'.

Internet gateway PDA service Music service Discovery Alarm Camera Guest's devices Laptop TV/PC Hotel wireless network Revision: Spontaneous networks Easy connection of guest's devices –wireless network –automatic configuration Easy integration with local services –discovery of services relevant to guest's needs

Service discovery in Jini Printing service Lookup service Lookup Printing service admin admin, finance finance Client Mobile client Corporate infoservice Network 2. Here I am: Request printing & receive proxy 1. ‘finance’ lookup service? 4. Use printing service Jini services register their interfaces and descriptions with the Jini lookup services in their scope Clients find the Jini lookup services in their scope by IP multicast Jini lookup service searches by attribute or by interface type

Case Study of Global Name Service Designed and implemented to provide facilities for resource location, mail addressing and authentication. GNS manages a naming database, composed of a tree of directories holding names and values. –Each directory is assigned an integer which serves as the unique directory identifier (DI). –The values stored at the leaves of the directory tree are organized into value trees. –Names in GNS has 2 parts:.

GNS directory tree and value tree for user Peter.Smith UKFR AC QMW DI: 322 Peter.Smith password mailboxes DI: 599(EC) DI: 574DI: 543 DI: 437 AlphaGammaBeta

Accommodating the change of structure Integrating 2 separate GNS – Integrate the database rooted at the EC directory and another directory rooted at NORTH AMERICA. When the client refers to the name with EC as the root, will it still be valid? will work. EC UKFR DI: 599 DI: 574DI: 543 NORTH AMERICA US DI: 642 DI: 732 #599 = #633/EC #642 = #633/NORTH AMERICA Well-known directories: CANADA DI: 633(WORLD)

Restructuring the directory Suppose US becomes part of the EC, then names beginning WORLD/NORTH AMERICA/US will no longer work. So we insert a “symbolic link” in place of the original US entry which acts as a redirection to the US directory in its new location. EC UKFR DI: 599 DI: 574DI: 543 NORTH AMERICA US DI: 642 DI: 457 DI: 732 #599 = #633/EC #642 = #633/NORTH AMERICA Well-known directories: CANADA DI: 633(WORLD) #633/EC/US US

Summary of GNS GNS addresses the needs for scalability and re-configurability. The solution adopted for merging & moving directory trees has a lot of overload.

X.500 Directory Service Satisfies the descriptive queries, designed to discover the names and attributes of other users or system resources. Range of Queries –  White pages: e.g. access to obtain a user’s electronic mail address.  Yellow pages: e.g. obtaining the names of all the garages specializing in the repair of a car. The data stored is organized in a tree structure with named nodes. Supports wide range of attributes,that are stored at each node Access both by name and by searching with required attributes. The name tree is called the Directory Information Tree (DIT) and the entire directory structure including the data is called the Directory Information Base (DIB).

Servers – Directory Service Agents (DSA). Clients – Directory User Agents (DUA). DSA DUA

Relation between DIB entries and OOPs...France (country)Great Britain (country)Greece (country)... BT Plc (organization)University of Gormenghast (organization)... Department of Computer Science (organizationalUnit) Computing Service (organizationalUnit) Engineering Department (organizationalUnit)... X.500 Service (root) Departmental Staff (organizationalUnit) Research Students (organizationalUnit) ely (applicationProcess)... Alice Flintstone (person)Pat King (person)James Healey (person)... Janet Papworth (person)...

Methods to access the directory 1.read: An absolute or relative name for an entry is given, together with the attributes to be read. 2.search: This is an attribute based access request. A base name and a filter expression is specified as arguments. Returns a list of names (Domain Names) for all the entries below the base node for which the filter evaluates to TRUE. Searching is very costly when it is applied to a large portions of directory tree.

Administration and updating of the DIB Interface includes operations for adding, deleting and modifying entries. Relies on extensive use of replication and caching technologies. LDAP – Lightweight directory Access Protocol The Standard interface to X.500 uses LDAP. The DUA accesses X.500 directory services directly over TCP/IP. Replaces the ASN.1 encoding with textual encoding. LDAP can be used as an interface to any Directory Service if it obeys the LDAP specification. LDAP provides secure access to directory data through authentication.

Summary Name services: –refer the binding of resource names to addresses (and other attributes) –Names are resolved to give addresses and other attributes –Goals : Scalability (size of database, access traffic (hits/second), update traffic) Reliability Trust management (authority of servers) –Issues exploitation of replication and caching to achieve scalability without compromising the distribution of updates navigation methods Directory and discovery services: –'yellow pages' retrieval by attributes –dynamic resource registration and discovery