DNS
MAIL PROTOCOL (SMTP, POP, IMAP)
WEB SERVICES (WWW, HTTP, HTTPS, FTP)
TELNET
CLIENT SERVER AND P2P APPLICATION
RELATION BETWEEN APPLICATION LAYER AND
TRANSPORT LAYER.
The same user machine runs the client side of the DNS
application.
The browser extracts the hostname,
www.NCC.edu.np, from the URL and passes the
hostname to the client side of the DNS application.
The DNS client sends a query containing the hostname to
a DNS server.
The DNS client eventually receives a reply, which
includes the IP address for the hostname.
Once the browser receives the IP address from DNS, it
can initiate a TCP connection to the HTTP server process
located at port 80 at that IP address.
Load distribution
DNS is also used to perform load distribution among
replicated servers, such as replicated Web servers.
For replicated Web servers, a set of IP addresses is thus
associated with one canonical hostname.
The DNS database contains this set of IP addresses.
Advantage:
Highly reduce the response time for a client request
data connection
The data connection is used to actually send a file.
Use port number 20.
server:
always-on host
Services requests from many other hosts, called clients
permanent IP address
data centers for scaling
clients:
communicate with server
may be intermittently connected
may have dynamic IP addresses
do not communicate directly with each other
Client server architecture are often infrastructure intensive, since
they require service providers to purchase, install, and maintain
server farms.
Example of Client server architecture: Web application, FTP,
Telenet, and e-mail.
Prepared By: Er. Bednidhi Rijal
Peer-to-Peer (P2P) Architecture
39