Chapter 11 - Application Layer
Chapter 11 - Application Layer
Chapter 11 - Application Layer
Application Layer
11
Module Objectives
• Module Title: Application Layer
• Module Objective: Explain the operation of application layer protocols in
providing support to end-user applications.
Web and Email Protocols Explain how web and email protocols operate.
When a web address or Uniform Resource Locator (URL) is typed into a web browser,
the web browser establishes a connection to the web service. The web service is
running on the server that is using the HTTP protocol.
To better understand how the web browser and web server interact, examine how a
web page is opened in a browser.
Step 1
The browser interprets the three
parts of the URL:
• http (the protocol or scheme)
• www.cisco.com (the server name)
• index.html (the specific filename
requested)
Hypertext Transfer Protocol and Hypertext Markup Language (Cont.)
Step 2 Step 3
The browser then checks with a In response to the request, the server
name server to convert sends the HTML code for this web page
www.cisco.com into a numeric to the browser.
IP address, which it uses to
connect to the server.
Step 4
The browser deciphers the HTML code and formats the page for the browser window.
HTTP and HTTPS
HTTP is a request/response
protocol that specifies the
message types used for that
communication.
The three common message types
are GET, POST, and PUT:
• GET - This is a client request
for data. A client (web
browser) sends the GET
message to the web server to
request HTML pages.
• POST - This uploads data files
to the web server, such as Note: HTTP is not a secure protocol.
form data. For secure communications sent
across the internet, HTTPS should be
• PUT - This uploads resources used.
or content to the web server,
such as an image.
Email Protocols
The DNS server stores different types of resource records that are used to
resolve names. These records contain the name, address, and type of record.
Some of these record types are as follows:
• A - An end device IPv4 address
• NS - An authoritative name server
• AAAA - An end device IPv6 address (pronounced quad-A)
• MX - A mail exchange record
When a client makes a query, the server DNS process first looks at its own
records to resolve the name. If it is unable to resolve the name by using its
stored records, it contacts other servers to resolve the name.
After a match is found and returned to the original requesting server, the
server temporarily stores the numbered address in the event that the same
name is requested again.
DNS Message Format (Cont.)
DNS uses the same message format between servers, consisting
of a question, answer, authority, and additional information for all
types of client queries and server responses, error messages, and
transfer of resource record information.