Unit 2 - Part Ii
Unit 2 - Part Ii
GTU #3150710
Unit-2:
Application Layer
Part-2
Authorization Recommendations
Use of Cookies
client server
proxy
server
client
origin
server
client origin
server
user
mail access user
SMTP SMTP protocol agent
agent
(e.g., POP,
IMAP)
DNS client wants to determine the IP address for the hostname www.amazon.com
The client first contacts one of the root servers, which returns IP addresses for TLD servers -
top-level domain .com.
Then contacts TLD servers, which returns the IP address of an authoritative server for
www.amazon.com
Finally, contacts one of the authoritative servers for www.amazon.com, which returns the IP
address for the hostname www.amazon.com.
gaia.cs.umass.edu
2 3
7
6
TLD DNS
server
1 8
gaia.cs.umass.edu
Prof. Maulik D. Trivedi #3150710(CN) Unit 2 – Application Layer 29
DNS – Cont...
Distributed database design is more preferred over centralized design to implement DNS in the
Internet.
A single point of failure: If the DNS server crashes then the entire Internet will not stop.
Traffic volume: With millions of device and users accessing its services from whole globe at
the same time.
A Single DNS Server cannot handle huge DNS traffic but with distributed system its distributed
and reduce overload on server.
Distant centralized database: A single DNS server cannot be “close to” all the querying clients.
If it is in New York City, then all queries from Australia must travel to the other side of the globe, perhaps
over slow and congested links cause significant delays.
Maintenance: To keep records for all Internet hosts. it would have to be updated frequently to
account for every new host.
application application
socket controlled by
process process app developer
transport transport
network network controlled
link by OS
link Internet
physical physical
App D1
App
3 2 3 2
1 socket 1 D2
Dest. socket
D3
write reply to
serverSocket read datagram from
specifying clientSocket
client address,
port number close
clientSocket
write reply to
connectionSocket read reply from
clientSocket
close
connectionSocket close
clientSocket
Thank
You