Sistem Jaringan dan Komunikasi Data #9. DNS The Internet Directory Service  the Domain Name Service (DNS) provides mapping between host name & IP address.

Slides:



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

1 Higher level protocols Domain Naming System, DNS HTTP.
World Wide Web Basics Original version by Carolyn Watters (Dalhousie U. Computer Science)
Application Layer Pertemuan 25 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
HTTP – HyperText Transfer Protocol
Web basics HTTP – – URI/L/Ns – HTML –
Hypertext Transfer Protocol Kyle Roth Mark Hoover.
1 HTTP – HyperText Transfer Protocol Part 1. 2 Common Protocols In order for two remote machines to “ understand ” each other they should –‘‘ speak the.
CS320 Web and Internet Programming Generating HTTP Responses
HTTP Hypertext Transfer Protocol. HTTP messages HTTP is the language that web clients and web servers use to talk to each other –HTTP is largely “under.
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.
HTTP Presented By: Holly Mortinson Amy Drout Kyle Balmer & Matt Conklin.
Web, HTTP and Web Caching
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.
Client, Server, HTTP, IP Address, Domain Name. Client-Server Model Client Bob Yahoo Server yahoo.com/finance.html A text file named finance.html.
 What is it ? What is it ?  URI,URN,URL URI,URN,URL  HTTP – methods HTTP – methods  HTTP Request Packets HTTP Request Packets  HTTP Request Headers.
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
Application Layer. Domain Name System Domain Name System (DNS) Problem – Want to go to but don’t know the IP addresswww.google.com Solution.
Rensselaer Polytechnic Institute CSC-432 – Operating Systems David Goldschmidt, Ph.D.
Web Hacking 1. Overview Why web HTTP Protocol HTTP Attacks 2.
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.
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.
1 HTTP Messages Herng-Yow Chen. 2 Outline The Flow of Messages The Parts of a Message The various methods that request message support The various status.
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.
Application Layer 2 Figures from Kurose and Ross
2: Application Layer1 Internet apps: their protocols and transport protocols Application remote terminal access Web file transfer streaming multimedia.
9/15/2015© 2008 Raymond P. Jefferis IIILect Application Layer.
PACKET ANALYSIS WITH WIRESHARK DHCP, DNS, HTTP Chanhyun park.
WebServer A Web server is a program that, using the client/server model and the World Wide Web's Hypertext Transfer Protocol (HTTP), serves the files that.
The HyperText Transfer Protocol. History HTTP has been in use since 1990 (HTTP/0.9) HTTP/1.0 was defined in RFC 1945 (May 1996) and included metainformation.
Web HTTP Hypertext Transfer Protocol. Web Terminology ◘Message: The basic unit of HTTP communication, consisting of structured sequence of octets matching.
COMT 6251 Network Layers COMT Overview IP and general Internet Operations Address Mapping ATM LANs Other network protocols.
HTTP Hypertext Transfer Protocol
HTTP Hypertext Transfer Protocol RFC 1945 (HTTP 1.0) RFC 2616 (HTTP 1.1)
Web Client-Server Server Client Hypertext link TCP port 80.
HyperText Transfer Protocol (HTTP) RICHI GUPTA CISC 856: TCP/IP and Upper Layer Protocols Fall 2007 Thanks to Dr. Amer, UDEL for some of the slides used.
HTTP1 Hypertext Transfer Protocol (HTTP) After this lecture, you should be able to:  Know how Web Browsers and Web Servers communicate via HTTP Protocol.
Lecture 6: Sun: 8/5/1435 Distributed Applications Lecturer/ Kawther Abas CS- 492 : Distributed system & Parallel Processing.
HTTP Protocol Design1 HTTP - timeline r Mar 1990 CERN labs document proposing Web r Jan 1992 HTTP/0.9 specification r Dec 1992 Proposal to add MIME to.
Jan.2001C.Watters1 World Wide Web Basics. Jan.2001C.Watters2 What is an internet anyway? 2 or more networks that can communicate.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
HTTP Here, we examine the hypertext transfer protocol (http) – originally introduced around 1990 but not standardized until 1997 (version 1.0) – protocol.
Web Services. 2 Internet Collection of physically interconnected computers. Messages decomposed into packets. Packets transmitted from source to destination.
CS 6401 The World Wide Web Outline Background Structure Protocols.
Overview of Servlets and JSP
Computer Networks with Internet Technology William Stallings Chapter 04 Modern Applications 4.1 Web Access - HTTP.
COMP2322 Lab 2 HTTP Steven Lee Jan. 29, HTTP Hypertext Transfer Protocol Web’s application layer protocol Client/server model – Client (browser):
HyperText Transfer Protocol (HTTP) Deepti Kulkarni CISC 856: TCP/IP and Upper Layer Protocols Fall 2008 Acknowledgements Professor Amer Richi Gupta.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 23 – Internet Applications Internet Directory.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
Week 11: Application Layer 1 Web and HTTP r Web page consists of objects r Object can be HTML file, JPEG image, Java applet, audio file,… r Web page consists.
Web Protocols: HTTP COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
INTRODUCTION Dr Mohd Soperi Mohd Zahid Semester /16.
Lec- 26 Domain Name System (DNS) Muhammad Waseem Iqbal.
HTTP Protocol Amanda Burrows. HTTP Protocol The HTTP protocol is used to send HTML documents through the Internet. The HTTP protocol sends the HTML documents.
Hypertext Transfer Protocol (HTTP) COMP6218 Web Architecture Dr Nicholas Gibbins –
HTTP – An overview.
Hypertext Transport Protocol
Data and Computer Communications
Net 431 D: ADVANCED COMPUTER NETWORKS
William Stallings Data and Computer Communications
HTTP Hypertext Transfer Protocol
Presentation transcript:

Sistem Jaringan dan Komunikasi Data #9

DNS The Internet Directory Service  the Domain Name Service (DNS) provides mapping between host name & IP address  defined in RFCs 1034 / 1035  key elements  domain name space  DNS database  name servers  name resolvers

Domain Names

DNS Database  hierarchical database  containing resource records (RRs)  features  variable-depth hierarchy for names  distributed database  distribution controlled by database  provides name-to-address directory service for network applications

Resource Records (RRs)

DNS Operation

DNS Server Hierarchy  DNS database is distributed hierarchically  may extend as deep as needed  any organization owning a domain can run name servers  each server manages authoritative name data for a zone  13 root name servers at top of hierarchy share responsibility for top level zones

Name Resolution  query begins with name resolver on host  knows name/address of local DNS server  given a name request, the resolver can:  return name from cache if already known  send DNS query to local server which may return answer, or query other servers  recursive technique - server queries other servers for resolver  iterative technique - resolver queries servers in turn as needed

DNS Messages

Hypertext Transfer Protocol HTTP  base protocol for World Wide Web  for any hypertext client/server application  is a protocol for efficiently transmitting information to make hypertext jumps  can transfer plain text, hypertext, audio, images, and Internet accessible information  versions 0.9, 1.0, & now 1.1 (RFC2616)

HTTP Overview  transaction oriented client/server protocol  between Web browser (client) and Web server  uses TCP connections  stateless  each transaction treated independently  each new TCP connection for each transaction  terminate connection when transaction complete  flexible format handling  client may specify supported formats

Key Terms  cache  client  connection  entity  gateway  message  origin server  proxy  resource  server  tunnel  user agent

Examples of HTTP Operation

HTTP Operation - Caches  often have a web cache  stores previous requests/ responses  may return stored response to subsequent requests  may be a client, server or intermediary system  not all requests can be cached

Intermediate HTTP Systems

HTTP Messages

HTTP General Header Fields  Cache-Control  Connection  Date  Forwarded  Keep-Alive  Mime-Version  Pragma  Upgrade

Request Methods  request-line has  method  Request URL  HTTP version  Request-Line = Method Request-URL HTTP-Version CRLF  HTTP/1.1 methods:  OPTIONS, GET, HEAD, POST, PUT, PATCH, COPY, MOVE, DELETE, LINK, UNLINK, TRACE, WRAPPED, Extension- method

Request Header Fields  Accept, Accept-Charset, Accept-Encoding, Accept-Language, Authorization, From, Host, If- Modified-Since, Proxy-Authentication, Range, Referrer, Unless, User-Agent

Response Messages  status line plus one or more general, response, entity headers, then optional entity body  status line contains  HTTP version  status code  reason phrase  Status-Line = HTTP-Version SP Status- Code SP Reason-Phrase CRLF

Status Codes  informational - headers only  successful - headers & body if relevant  redirection - further action needed  client error - has syntax or other error  server error - failed to satisfy valid request

Response Header Fields  Location  Proxy-Authentication  Public  Retry-After  Server  WWW-Authenticate

Entity Header Fields  Allow  Content-Encoding  Content-Language  Content-Length  Content-MD5  Content-Range  Content-Type  Content-Version  Derived-From  Expires  Last-Modified  Link  Title  Transfer-Encoding  URL-Header  Extension-Header

Entity Body  entity body is an arbitrary sequence of octets  HTTP can transfer any type of data including:  text, binary data, audio, images, video  data is content of resource identified by URL  interpretation data determined by header fields:  Content-Type - defines data interpretation  Content-Encoding - applied to data  Transfer-Encoding - used to form entity body