Name Services

23
Name Services Jessie Crane CPSC 550

description

Name Services. Jessie Crane CPSC 550. History. ARPAnet – experimental computer network (late 1960s) hosts.txt – a file that contained all the information about every host on the network Single management domain. History. - PowerPoint PPT Presentation

Transcript of Name Services

Page 1: Name Services

Name Services

Jessie CraneCPSC 550

Page 2: Name Services

History

• ARPAnet – experimental computer network (late 1960s)

• hosts.txt – a file that contained all the information about every host on the network

• Single management domain

Page 3: Name Services

History

• TCP/IP standardized connectivity to ARPAnet for all computers (early 1980s)

• hosts.txt – traffic and load problems• – file consistency problems• Increasing number of users• NIC had no control over host names

Page 4: Name Services

History

• NIC called for a replacement of the current system– Centralized system– Single-host bottleneck

• Paul Mockapertis created the Domain Name Service (DNS) in 1984.– Distributed database– Hierarchical structure

Page 5: Name Services

Name Services

• Domain Name Service (DNS) – Maps domain names to IP addresses

• Global Name Service (GNS)– Maps global names to their attributes

• X500 directory service– Stores collections of bindings between names and

attributes– Looks up entries that match attribute-based specs

• Jini discovery service– Looks up objects according to attributes

Page 6: Name Services

Goals

• Objective – look up attributes of an object by providing the object’s name

• Handle very large name spaces• Have a long life • Have high availability• Fault tolerance• Tolerance of mistrust (GNS)

Page 7: Name Services

Definitions

• Names – refer to resources in a distributed system

• Name service – stores a collection of naming contexts– Resolves names, which makes communication

and resource sharing possible– Different resources use the same naming

scheme, such as a URL

Page 8: Name Services

Definitions

• Replication – the process of copying data from one computer to another

• Caching – storing previously looked up information

• Resolver – a library routine that creates queries and sends them to a name server

Page 9: Name Services

Features

• Name services look up attributes of an object by providing an object’s name.

• Hierarchical in structure

Page 10: Name Services

DNS Features

• Maps domain names to IP addresses– Mostly for host names and email addresses

• Elements of that allow worldly lookup– Hierarchical partitioning of the name database– Replication of the naming data– Caching

Page 11: Name Services

DNS Structure• This method ensures

subdirectories or files do not have the same name

• Similar to Unix file system• Tree with root set to null• Each node = root of subtree• Subtree = partition of

overall database• Decentralize administration

Page 12: Name Services

GNS Features & Structure

• Names– Directory names = ab/cd/ef/qwm– Value names = jessie.crane/password

• Replication and caching essential

Page 13: Name Services

X500 Features & Structure

• Directory services return attributes that match specified attr.

• Yellow pages service• Directory Information

Tree (DIT)• Replication and

caching

Page 14: Name Services

Jini Features & Structure

• Registers the services provided in a spontaneous networking environment

• Look-up service & Jini• Print from laptop

Page 15: Name Services

How to Use DNS

• Register a new domain – need to submit a DNS server name and address– Register with current DNS server– Configure new DNS server

• /etc/named.boot or /etc/named.conf

• URLs and email clients

Page 16: Name Services

How to Use Directory Services

• Done through and application interface• Examples:

– User logging into a system enters a name and password.

– User invoking a spell check on a document

Page 17: Name Services

How to Use Discovery Services

• Jini can go on a home computer• Storage for devices can run directly on the

PC– Digital cameras – store pictures– Cell phones – backup the phone book– Answering machine – store long messages– VCR – store video on hard disk

Page 18: Name Services

DNS Application

• BIND– Resolves Internet host names into IP addresses

and vice versa• Most name servers on the Internet run

BIND• Old versions of BIND allow DNS spoofing

attacks

Page 19: Name Services

Directory Service Application

• Active Directory Service Interfaces (ASDI)• Compose of interfaces used to access

directory services from different networks– adding new users– managing printers– locating resources in a distributed environment– Setting permissions on network resources

Page 20: Name Services

Discovery Service Application

• Google – finds pages that are openly available on the Web.

Page 21: Name Services

Significance of Points

• Use a distributed peer-to-peer system instead of DNS

• Main reason: do not have to worry about a server being down.

• Pros: – Computing power– Storage space

• Example: Napster

Page 22: Name Services

Summary

• DNS is very good and will probably be faster on average than a peer-to-peer system

• DNS not have as many security issues • Peer-to-peer no availability issue

Page 23: Name Services

References1. Albitz, Paul and Liu Crickel, “DNS and BIND.” O’Reilly &

Associates, Inc., 2001.2. Blanchfield, Sean, An Anonymous and Scaleable Distributed Peer-

to-Peer System.” University of Dublin, 2002.3. Galli, Doreen L., “Distributed Operating Systems.” Prentice Hall,

2000.4. Hauben, Micheal, “History of ARPAnet.” http://www.dei.isep.ipp

.pt/docs/arpa.html, 2000.5. Yuan, Fei and Li, Xuhui, “Hybrid Searching Algorithm for

Loosely-Controlled Peer-to-Peer System.” University of Waterloo, 2002.