Application Layer. Domain Name System Domain Name System (DNS) Problem – Want to go to www.google.com, but don’t know the IP addresswww.google.com Solution.

Slides:



Advertisements
Similar presentations
Hypertext Transfer PROTOCOL ----HTTP Sen Wang CSE5232 Network Programming.
Advertisements

Introduction to Networks
DNS and HTTPs ACN Presentation. Domain Names We refer to computers on the Internet (Internet hosts), by names like: sharda.ac.in These are called domain.
1 Higher level protocols Domain Naming System, DNS HTTP.
HTTP HyperText Transfer Protocol. HTTP Uses TCP as its underlying transport protocol Uses port 80 Stateless protocol (i.e. HTTP Server maintains no information.
The Domain Name System Overview Introduction DNS overview How DNS helps us? Summary.
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao
Chapter 2: Application Layer
How the web works: HTTP and CGI explained
Cornell CS502 Web Basics and Protocols CS 502 – Carl Lagoze Acks to McCracken Syracuse Univ.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 23 – Internet Applications Internet Directory.
Application Layer At long last we can ask the question - how does the user interface with the network?
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
2/9/2004 Web and HTTP February 9, /9/2004 Assignments Due – Reading and Warmup Work on Message of the Day.
Hypertext Transport Protocol CS Dick Steflik.
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
Presented by Neeta Jain CISC 856 TCP/IP and Upper Layer Protocols RFC 1034 & RFC 1035.
Rensselaer Polytechnic Institute CSC-432 – Operating Systems David Goldschmidt, Ph.D.
Web Client/Server Communication A290/A590, Fall /09/2014.
Website Publishing. Publishing Basics Early Web Sites Obtain a Domain Name IP Address (Internet Protocol Address) – A number that uniquely identifies.
DNS and HTTP. Finally, the application layer! We have learned about: – Signals being sent on wires – Frames carried over dumb local networks – Packets.
Human-Computer Interface Course 5. ISPs and Internet connection.
DNS and HTTP CS 168. Domain Name Service Host addresses: e.g., – a number used by protocols – conforms to network structure (the “where”)
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
FTP (File Transfer Protocol) & Telnet
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
DNS: Domain Name System
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
HyperText Transfer Protocol (HTTP).  HTTP is the protocol that supports communication between web browsers and web servers.  A “Web Server” is a HTTP.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Sistem Jaringan dan Komunikasi Data #9. DNS The Internet Directory Service  the Domain Name Service (DNS) provides mapping between host name & IP address.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
TCP/IP Protocols Dr. Sharon Hall Perkins Applications World Wide Web(HTTP) Presented by.
Web HTTP Hypertext Transfer Protocol. Web Terminology ◘Message: The basic unit of HTTP communication, consisting of structured sequence of octets matching.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 8 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
The Web and Web Services Jim Graham NR 621 Spring 2009.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Operating Systems Lesson 12. HTTP vs HTML HTML: hypertext markup language ◦ Definitions of tags that are added to Web documents to control their appearance.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
Web Technologies Lecture 1 The Internet and HTTP.
EE 122: Lecture 21 (HyperText Transfer Protocol - HTTP) Ion Stoica Nov 20, 2001 (*)
CS 6401 The World Wide Web Outline Background Structure Protocols.
4343 X2 – Outline The Domain Name System The Web.
Overview of Servlets and JSP
1 10. DNS, HTTP, Unix Socket Programming DNS (Domain Name Service) Domain Name Name Resolution HTTP (Hyper Text Transfer Protocol) Request Response Persistent.
COMP2322 Lab 2 HTTP Steven Lee Jan. 29, HTTP Hypertext Transfer Protocol Web’s application layer protocol Client/server model – Client (browser):
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 23 – Internet Applications Internet Directory.
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
4343 X2 – The Application Layer Tanenbaum Chapter 7.
Ch 2. Application Layer Myungchul Kim
COMPUTER NETWORKS Hwajung Lee. Image Source:
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
National College of Science & Information Technology.
4.01 How Web Pages Work.
CISC103 Web Development Basics: Web site:
COMP2322 Lab 2 HTTP Steven Lee Feb. 8, 2017.
Protocols and networks in the TCP/IP model initially.
CISC103 Web Development Basics: Web site:
WEB API.
Web Design & Development
Hyper Text Transfer Protocol
EE 122: HyperText Transfer Protocol (HTTP)
HTTP Hypertext Transfer Protocol
Q/ Compare between HTTP & HTTPS? HTTP HTTPS
Presentation transcript:

Application Layer

Domain Name System

Domain Name System (DNS) Problem – Want to go to but don’t know the IP addresswww.google.com Solution – DNS queries “Name Servers” to get correct IP address Essentially the Internet “phonebook”… – Tree structure

DNS Hierarchy comnet edu wsu eecs wwwmail jpcnorggovde google wwwmail uidaho

DNS Terminology Domain – subtree of domain space Zone – server has responsibility over a “zone” Root Server – has “domain” of entire tree DNS – Generally delegates authority to other servers – 13 total Primary Server – stores information about its domain (sub tree) – Maintain “zone files”

Resource Records Each domain a record called “resource record” – Information returned to client for DNS request Record types – A – IP address – AAAA – IPv6 address – NS – Name server – MX – Mail server – CNAME – canonical name (alias/nickname)

Resolution Types Recursive – Initial resolver responsible for finding correct response Iterative – Client chases down own DNS response by querying additional servers Caching – Names servers may “cache” results – Speeds up response – Length of time determined by “Time to Live (TTL)”

How do find randomsite’s IP? Router Internet Destination Network Local Network Router

Recursive DNS Resolution Example Internet RandomSite.com Network Local Network Root Name Server Local Name Server RandomSite.com Name Server Com Name Server 4 5

Iterative DNS Resolution Example Internet RandomSite.com Network Local Network Root Name Server Local Name Server RandomSite.com Name Server Com Name Server 4 5

DNS Examples Dig Wireshark

HyperText Transfer Protocol

HyperText Transfer Protocol (HTTP) Used to support retrieval of web content/pages from web server – Examples include HTML (Hypertext Markup language) files (.html) Javascript (.js) Media (.jpg,.gif,.swf) Style sheets (.css) Client-Server architecture – Ports HTTP: TCP 80 HTTPS: TCP 443

HTTP Request 3 components – HTTP verbs (GET, POST, HEAD, DELETE, PUT, ….) – HTTP version (e.g., HTTP/1.0, HTTP/1.1) – Uniform Resource Locators (URL) Used to identify the location of some web resource on a server Example: Protocol Server Address Filename Maps to some web server file directory (e.g., /var/www)

HTTP Verb GET – retrieve the URL from there server – Also can be used to post data through … GET index.html?varible1=value1&…….. HTTP/1.1 Variable More Variables Verb Page Version POST – submits data to the server – Generally results in data being retrieved as well Many infrequently used verbs – HEAD, TRACE, PUT, DELETE.. POST index.html HTTP/1.1 Content Length: …. variable1=value1&…. Variable Variables Verb Page

HTTP Response Status Code – 2xx – Success – 3xx – Redirect – 4xx - Client Error (e.g., 404 –file not found) – 5xx – Server Error Content-type – type of data returned – Examples (text/html, image/gif) Content-Length- number of bytes

HTTP 1.0 – New TCP connection with each HTTP requests – Page has many different objects Images, Javascript, Html documents. HTTP 1.0

HTTP 1.1 Persistent connections – multiple requests within same Http request – Reduces HTTP connection overhead

More HTTP Authentication: – Digest vs Basic – used to authenticate web requests No longer commonly used Caching – Supports caching of response data to reduce bandwidth requirements – Caching locations: browsers, web proxies Cookies – HTTP naturally stateless – Cookies enable stateful communication by storing variables on browsers – Examples Session tokens – random identifier used to correlate uniquely identify session after authentication Remember data from website visit (e.g., Amazon purchases)