Unit 5 - Part 1 - Copmuter - Network Sem 6
Unit 5 - Part 1 - Copmuter - Network Sem 6
( RCS-601 )
UNIT 5
APPLICATION LAYER DESIGN ISSUES
It is 128.175.13.92
1. What is the
host name of
128.175.13.74
It is aktu.ac.in
Example:
DNS domains are www.virginia.edu cs.virginia.edu
., edu, virginia.edu,
cs.virginia.edu
neon.cs.virginia.edu
HTTP Resolver
2. Local resolver formulates a DNS IP address (128.143.71.21)
IP address (128.143.71.21)
host
(neon.tcpip-lab.edu)
3. Name server checks if it is
Hostname
authorized to answer the query.
a) If yes, it responds.
b) Otherwise, it will query other
name servers, starting at the Name
root tree server
1) Recursive Resolution
• Client requires the Local Server to give either the requested
mapping or an error message. A DNS Query is generated by
the application program to the resolver to fetch the destination
IP Address. The Query is then forward to the local DNS
Server. If it knows the IP Address, it sends a response to the
resolver. Assuming, it does not know the IP Address, it sends
the query to the root name server.
• The root name server contains information of about at
least one server of Top Level Domain. The query is
then sent to the respective Top-Level Domain server.
If it contains the mapping, the response is sent back to
the root server and then to host’s local server.
• If it doesn’t contain the mapping, it should contain
the IP Address of destination’s local DNS Server. The
local DNS server knows the destination host’s IP
Address.
• The information is then sent back to the top-level
domain server, then to the root server and then to the
host’s Local DNS Server and finally to the host
2) Iterative Resolution:
• The main difference between iterative and recursive resolution
is that, here each server that does not know the mapping sends
the IP Address of the next server to the one requested it.
• Here, client allows the server to return the best answer it can
give as a match or as a referral.
• A DNS Query is generated by the application program to the
resolver to fetch the destination IP Address. The Query is then
forward to the local DNS Server. Assuming, it does not know
the IP Address, it sends the query to the root name server.
• The root name server returns the IP Address of the
Top-Level Domain Server to the Local Server. The
Top-Level Domain server is contacted by Local
Server and it returns either the IP of the destination
host or its local DNS Server.
• If it returns the server’s address, then by contacting
the destination’s Local DNS Server, we get the IP
Address of the destination host.
• The response/mapping is then passed from host’s
local DNS server to the resolver and then finally to
the host.