Documente Academic
Documente Profesional
Documente Cultură
Overview
Introduction Name Space Domain Name Space. Name Resolution Questions
Introduction
URL(Uniform Resource Locator)
http://HostAddress The host address is where a Web site can be found . Host Address can be : 1. The IP Address 199.239.136.200 or 2. The Domain Name www.xyz.com
Introduction contd..
Introduction contd ..
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 into their corresponding IP addresses is called name resolution or Address Resolution or name translation or name mapping
Intermediate Name Server : Also known as Top Level Name Server Authoritative name server:
Stores hosts IP address, name . So can perform name resolution
NAME SPACE
To be unambiguous, the names assigned to machines must be carefully selected from a name space with complete control over the binding between the names and IP addresses
Name Space
part define the nature of the organization. part can define the name of an organization. part can define departments in the organization.
Second
Third
Naming a Domain
vs
Naming a Directory
C:
Start Here
com
au
net
Program Files
Windows
Temp
org
com
net
id
Cache
System32
Fonts
Media
microsoft
yahoo
Start Here
drivers
dllcache
spool
yahoo.com.au.
A . is used as separator
C:\windows\system32\drivers\
A \ is used as separator
Domain Name
Each node in the tree has a domain name.
host going back through each level to the root node. In FQDN , a lavel is terminated by a null string. Partially Qualified Domain Name
It is a domain name that does not include all the lavels
Name Resolution
Mapping domain names into their corresponding IP addresses.
This technique of Name Resolution is of two types :
Recursive resolution:-Recursive servers know how to ask others for information 2) Iterative resolution:- Iterative servers dont know how to ask others for information they can only answer if they have information in its cache or in its database
1)
Query
Local NS
Recursive Resolution
Iterative Resolution
3.
4. 5.
6. 7.
8.
If ISP name server does not have the answer in its cache or in its database, it will contact root name server for the IP address of host sales.xyzcompany.com If the root name server does not have the answer in its cache or in its database, it will reply to ISP name server with the IP address of Top Level Domain Name Server (.COM In The Example Above) ISP name server will query Top Level Domain Name Server for the IP address of host sales.xyzcompany.com If Top Level Domain Name Server does not have the answer in its cache or in its database, it will reply to ISP name server with the IP address of the Authoritative Name Server ISP name server will query Authoritative Name Server for the IP address of host sales.xyzcompany.com Since Authoritative Name Server will have the address so it will reply ISP name server with the IP address for host sales.xyzcompany.com Finally ISP name server returns IP address to host A.
Questions???
Q.1 i.e myhost.cit.cornell.edu Can we have more than one IP address for one domain name? 128.253.180.25
128.253.180.26
Q.2 Can we have more than one domain name for one IP address?
128.253.180.25
xyz.cit.cornell.edu
Ans1. Yes , we can have more than one IP address for one
domain name . This thing is managed by A(Address) record. It is known as round-robin DNS . DNS will cycle from one IP address to the next each time the domain name is called.
A record
An A (Address) record translates a domain name to an IP address
myhost.cit.cornell.edu
myhost.cit.cornell.edu abc.cit.cornell.edu
IN A
IN A CNAME
128.253.180.25
128.253.180.26 myhost.cit.cornell.edu
xyz.cit.cornell.edu
CNAME
myhost.cit.cornell.edu
Ans 2. No, we cannot have more than one domain name for one IP address. Ans 3. Yes, we can have like this
abc.cit.cornell.edu
128.253.180.25
xyz.cit.cornell.edu
We have one domain name and multiple aliases for that one domain name. This thing is managed by CNAME
CNAME(canonical name)
The CNAME maps the aliases (different name of single host) to the "official" name of a host. The official name is stored in the A record.
myhost.cit.cornell.edu myhost.cit.cornell.edu abc.cit.cornell.edu xyz.cit.cornell.edu IN A IN A CNAME CNAME 128.253.180.25 128.253.180.26 myhost.cit.cornell.edu myhost.cit.cornell.edu
References
Data Communications and Networking by Behrous A.Forouzan .
THANK YOU