Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 44

Name services

Prepared by: Samea Yusofi


Objectives
• Introduction
• Name services and the Domain Name System
• URL
• Name spaces
• Aliases
• DNS
Names, address and other attributes
• Names facilitate communication and resource sharing. A name is
needed to request a computer system to act upon a specific resource
chosen out of many; for example, a name in the form of a URL is
needed to access a specific web page.
• Names are not the only useful means of identification: descriptive
attributes are another.
• There are two kinds of Names.
• Pure name: are simply uninterpreted bit patterns.
• Non-pure name: contain information about the object that they name
and contain information about the location of the object.
URL:
• Uniform Resource Locator
• Is often used that provide location and are efficient identifiers for accessing
resources.
• Another name for URL is web address.
• A URL allows your browser to find a specific webpage or file across the
internet.
• Like the house address the URL must be unique and point to only one place.
• Example: http:://www.teach-ict.com/index.html
http:://www.bbc.co.uk/schools/ictfile.html
Name services and Domain Name System
• The major operation that a name service supports is to resolve a name – that
is, to look up attributes from a given name.
General name service requirements:
- the system should be capable of handling the names of all the documents in
the world.
- A long lifetime
- High availability
- Fault isolation: Local failures should not cause the entire service to fail.
- Tolerance of mistrust: A large open system cannot have any component
that is trusted by all of the clients in the system.
Name spaces
• A name space is the collection of all valid names recognized by a particular service.
• Name spaces require a syntactic definition to separate valid names from invalid names. For example, ‘...’ is not
acceptable as the DNS name of a computer, whereas www.cdk99.net is valid.
• Two kinds of Name spaces:
• Hierarch name spaces: Hierarchic name spaces are potentially infinite, so they enable a system to grow indefinitely.
• potential advantage of a hierarchic name space is that different contexts can be managed by different people or
organizations.
• /etc/passwd
• Flat name spaces: flat name spaces are usually finite; their size is determined by fixing a maximum permissible
length for names.
• DNS name spaces: The DNS name space has a hierarchic structure: a domain name consists of one or more
strings called name components or labels, separated by the delimiter ‘.’. There is no delimiter at the beginning or end
of a domain name, although the root of the DNS name space is sometimes referred to as ‘.’ for administrative
purposes.
• DNS names are not case-sensitive. So, so www.cdk5.net and WWW.CDK5.NET have the same meaning.
Aliases
• An alias is a name defined to denote the same information as another
name, similar to a symbolic link between file path names.
• For example, using web redirection, http://bit.ly/ctqjvH refers to
http://cdk5.net/additional/rmi/programCode/ShapeListClient.java.
the name www.cdk5.net is an alias for cdk5.net.
• Naming domains • A naming domain is a name space for which there
exists a single overall administrative authority responsible for
assigning names within it.
• Domains in DNS are collection of domain names.
DNS(Domain Name System)
• The Domain Name System is a name service design whose main naming database is used across the
Internet. It was devised principally by Mockapetris and specified in RFC 1034 [Mockapetris 1987] and
RFC 1035.
• Generic Domains:
com – Commercial organizations
edu – Universities and other educational institutions
gov – US governmental agencies
mil – US military organizations
net – Major network support centres
org – Organizations not mentioned above
int – International organizations
biz- Business
• Specifec Domains: us – United States, uk – United Kingdom, fr – France
Thank you

You might also like