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.

Slides:



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

Web Server Administration
2.1 Installing the DNS Server Role Overview of the Domain Name System Role Overview of the DNS Namespace DNS Improvements for Windows Server 2008 Considerations.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Name Services Jessie Crane CPSC 550. History ARPAnet – experimental computer network (late 1960s) hosts.txt – a file that contained all the information.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
Chapter 13 Chapter 13: Managing Internet and Network Interoperability.
Domain Name System: DNS
Hands-On Microsoft Windows Server 2003 Administration Chapter 9 Administering DNS.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
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)
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
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.
DNS. Outline r Domain Name System r DNS Hierarchy r Resolution.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
Windows Server 2008 Chapter 8 Last Update
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
ES 101. Module 3 Domain Name System (DNS). Last Lecture Routing and IP addressing.
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.
Name Services Vidya Satyanarayanan. Why do we need Name Services?
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.
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.
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.
Chapter 17 Domain Name System
5.1 Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
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 CH 25 Aseel Alturki
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.
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.
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)
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.
Network Servers Chapter 13 Release 16/7/2009. Chapter Objectives Describe Client-server and Peer to Peer network model Explain server Explain Domain.
Linux Operations and Administration
Web Server Administration Chapter 4 Name Resolution.
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
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.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Understand Names Resolution
Networking Applications
Module 8: Networking Services
Module 5: Resolving Host Names by Using Domain Name System (DNS)
Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
Working at a Small-to-Medium Business or ISP – Chapter 7
Net 323 D: Networks Protocols
Chapter 19 Domain Name System (DNS)
Working at a Small-to-Medium Business or ISP – Chapter 7
Lecture 7: Name and Directory Servers
Lecture 7: Name and Directory Servers
Domain Name System (DNS)
Working at a Small-to-Medium Business or ISP – Chapter 7
Lecture 8: Name and Directory Servers
Bina Ramamurthy Chapter 9
Bina Ramamurthy Chapter 9
Bina Ramamurthy Chapter 9
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Domain Name System: DNS
Presentation transcript:

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 Oanh 1

Outline  General concepts  Domain Name System (DNS) irectory and Discovery Services IIntroduction JJini  Other name services GGlobal Name Service (GNS) XX500 Directory Service 2

Introduction In a distributed system names are used to refer to a wide variety of resources such as computers, services, remote objects, and files as well as users. Names are used for identification as well as for describing attributes. For many purposes, names are preferable to identifiers ▫ because the binding of the named resource to a physical location is deferred and can be changed ▫ because they are more meaningful to users 3

4

URIs, URLs and URNs Uniform Resource Identifiers (URI): identify or name a resource on the Internet. They come in two kinds: Uniform Resource Locator (URL): locates resource - typed by the scheme field (http, ftp, nfs, etc.) - resources cannot be moved between domains Uniform Resource Name (URN): names resource - Format: urn: : - Examples: a) urn:ISBN: b) urn:inf.unibz.it:TR

6

7

Examples of Name Services File system – maps file name to file RMI registry – binds remote objects to symbolic names DNS (=Domain Name Service) – maps domain names to IP addresses – scalable, can handle change X.500/LDAP directory service – maps person’s name to address, phone number 8

Design Issues Name spaces Name Resolution The domain name system 9

Name Spaces A name space is a collection of all valid names recognized by a particular service Allow simple but meaningful names to be used Potentially infinite number of names Structured ▫ to allow similar subnames without clashes ▫ to group related names 10

Hierarchic Name Spaces Sequence of name tokens resolved in different context – syntax: name token (text string) + delimiter – DNS: inf.unibz.it – Unix: /usr/bin Name structure reflects organisational structure Examples – domain names, Window file system 11

Hierarchic Name Spaces (ctd) 12

Flat Name Spaces Single global context and naming authority for all names – computer serial number – Ethernet address – remote object reference (IP address, port, time, object number, interface id) Names not meaningful – difficult to resolve (no tree hierarchy) – easy to create 13

Example Of Flat Name Spaces 14

Outline  General concepts  Domain Name System (DNS)  Directory and Discovery Services ▫ Introduction ▫ Jini  Other name services ▫ Global Name Service (GNS) ▫ X500 Directory Service 15

DNS Hierarchy and the Internet DomainPurpose com Commercial organizations edu Educational institutions gov Government institutions mil Military groups net Major network support centers org Nonprofit organizations and others int International organizations 16

Namespace Hierarchy Ex: Retal.Sales.Ajax.com. 17

What is DNS ?  Domain Name System (DNS) is: an application-layer protocol that is part of the standard TCP/IP protocol suite. This protocol implements the DNS name service, which is the name service used on the Internet. DNS is a distributed naming database 18

What DNS used for?  The basic function of DNS:  Providing name-to-address resolution for TCP/IP-based networks. (mapping)  Others:  Mail Delivery  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. 19

Get Address.  when a program is running on your local machine needs to contact a remote computer, mapping occur.  how to locate address?  requests assistance from the DNS software running on your local machine, which is considered a DNS client ( is call resolver).  sends a request to a DNS name server, which maintains the distributed DNS database: the host names, IP addresses, and other information about a particular group of computers 20

Domain Names Fully-Qualified Domain Names 21

ZONES The data in a name server's database are called zone files. One type of zone file stores IP addresses and host names 22

DNS Administrative Domains:  Is a group of machines or resources that are administered as a unit.  Is maintained by at least two name servers.  Name servers have the graphical relations like business… 23

DNS Servers in.named and DNS Name Servers : Name servers in an administrative domain maintain the DNS database. They run in.name( can be called BIND- University of California at Berkeley). Primary server. Secondary. Cache-only. 24

DNS Resolver Name Resolution Services o Standard Name Resolution. o Reverse Name Resolution. o Electronic Mail Resolution. …… 25

DNS Resolver Functions o Providing The User Interface. o Forming and Sending Queries. o Processing Responses. 26

DNS Resolver Functions Other Functions: o Caching. o In fact, it is possible to set up a network so that the resolvers on each of the client machines do nothing more than hand resolution requests to a local DNS server and let the server take care of it.  The client resolver becomes a stub resolver.  Advantage of centralizing name resolution for the network.  Disadvantage of performance reduction. 27

DNS Basic Name Resolution Techniques: DNS Name Resolution Techniques: o Iterative Resolution o Recursive Resolution 28

Iterative Resolution 29

Recursive Resolution 30

DNS Name Resolution Efficiency Improvements:  Caching  Local Resolution 31

CACHING The Motivation for Caching: Locality of Reference ▫ spatial locality of reference: resource is more likely to be referenced if it is near another resource that was recently referenced. ▫ temporal locality of reference: resource is more likely to be accessed if it was recently accessed. Name Resolver Caching ▫ once a particular name is resolved, it is cached and remains ready for the next time ▫ this eliminates traffic and load on DNS servers. 32

Local Resolution DNS servers will perform this check to see if they have the information needed for a request before commencing the “formal” top-down resolution process 33

DNS Name Resolution Process 34

DNS Reverse Name Resolution Using the IN-ADDR.ARPA Domain 35

DNS Message Header and Question Section Format ID QR Opcode AA TC RD RA Z RCODE QDCount ANCount NSCount ARCount 36

DNS Message Resource Record Field Formats DNS Common Resource Record Format RData Field Formats For Common Resource Records A / Address Resource Record (Type Value 1) NS / Name Server Resource Record (Type Value 2) In this record, the data field carries the domain Carries the domain name of a name server CName / Canonical Name Resource Record (Type Value 5) SOA / Start Of Authority Resource Record (Type Value 6) PTR / Pointer Resource Record (Type Value 12) 37

HOW ??? DNS FREE DNS SERVER ON UNIX 38

DNS FREE EDITZONE 39

DNS SERVER ON UNIX Installation ▫ At a terminal prompt, enter the following command to install dns: ▫ sudo apt-get install bind9 A very useful package for testing and troubleshooting DNS issues is the dnsutils package. To install dnsutils enter the following: ▫ sudo apt-get install dnsutils 40

DNS configuration  Declare zones  Forward zone  Reverse zone  Describe zone’s database  Declare DNS client 41

Outline  General concepts  Domain Name System (DNS)  Directory and Discovery Services  Introduction  Jini  Other name services  Global Name Service (GNS)  X500 Directory Service 42

Directory and Discovery Services Directory services Discovery services Jini case study 43

Directory services A special kind of naming service – Searching attributes Entries – Each entry is concerned with a set of pairs Query – Lookup by known attributes – Return interested attributes – E.g. query one’s telephone No. by his name 44

Directory services Sometimes directory services are called “yellow pages services”, while name services are called “white pages services” Often organized in a hierarchy Examples of directory services: 1. Microsoft’s Active Directory Services 2. X

Discovery services A discovery service is a directory service that registers the services provided in a spontaneous networking environment. Is automatically updated as the network configuration changes Services notify the discovery service of existence via a registration interface Discovery has a scope (the context) 46

Discovery services(tt) Provide an interface for automatically registering and de-registering services, as well as an interface for clients to look up the services they require ▫ Ex: a printer (or the service that manages it) may register its attributes with the discovery service as follows:  ‘resourceClass = printer, type=laser, color=yes, resolution=600dpi, location=room101, url= Example - Jini (a Java-based system for spontaneous networking) 47

Spontaneous network Internet gateway PDA service Music service Discovery Alarm Camera Guest's devices Laptop TV/PC Hotel wireless network 48

Jini Discovery Service Designed to be used for spontaneous networking Entirely java-based Computers communicate by means of RMI, and can download code if necessary Discovery-related components in a Jini system are look up services A Jini service (such as printing service) may be registered with many look up services 49

Jini Discovery Service(tt) A lookup service – A service registers an object with a set of attributes – Clients query the lookup service – Clients download service object that matches query Leases – A limited period of time during which the service can be used 50

Jini Discovery Service(tt) How to locate the look up service ? ▫ Using a well-known multicast IP address ▫ Multicast the request using a “time to live” value Service instance is configured with one or more group names such as ‘finance’, ‘sales’, ‘admin’, which act as scoping labels. 51

Printing service Lookup service Lookup Printing service admin admin, finance finance Client Corporate infoservice 1. ‘finance’ lookup service? 2. Here I am: Request printing 4. Use printing service Network 52

OTHER NAME SERVICES Global name service (GNS) X.500 and LDAP Trading service 53

Global name service  was designed and implemented by Lampson and colleagues at the DEC Systems Research Center to provide facilities for resource location, mail addressing and authentication  an early research project (1985) that developed solutions for the problems of:  large name spaces  restructuring the name space 54

X.500 and LDAP primarily used to satisfy descriptive queries, designed to discover the names and attributes of other users or system resources as a network service intended to meet these requirements is specified as an application level service in the Open Systems Interconnection (OSI) set of standards 55

X.500 and LDAP X.500 is also the basis for LDAP The data stored in X.500 servers is organized in a tree structure with named nodes as in the case of the other name servers in X.500 a wide range of attributes are stored at each node in the tree, and access is not just by name but also by searching for entries with any required combination of attributes 56

X.500 and LDAP DIT: the directory information tree DIB: the entire directory structure including the data associated with the nodes is called the directory information base provides the capability to look up information by name (a white-pages service) and to browse and search for information (a yellow-pages service) 57

X.500 and LDAP Entries in the DIB are arranged in a tree structure called DIT Each entry is a named object and consists of a set of attributes Each attribute has a defined attribute type and one or more values The directory schema defines the mandatory and optional attributes for each class of object 58

X.500 and LDAP The X.500 namespace is hierarchical Users of the X.500 directory may (subject to access control) interrogate and modify the entries and attributes in the DIB. 59

Protocols The X.500 standard defines a protocol (among others) for a client application to access the X.500 directory Called the Directory Access Protocol (DAP), it is layered on top of the Open Systems Interconnection (OSI) protocol stack. 60

Trading service CORBA name service CORBA event service CORBA Notification Service 61

Summary Name services: ▫ defer 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 62

Referrences  Distributed system  63

Q.AQ.A ^_^ 64