Network Technologies essentials Week 9: Applications: DNS and HTTP Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University.

Slides:



Advertisements
Similar presentations
Network Technologies essentials Week 2: Physical layer & direct links Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall,
Advertisements

Transport Layer3-1 Transport Overview and UDP. Transport Layer3-2 Goals r Understand transport services m Multiplexing and Demultiplexing m Reliable data.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
1 Higher level protocols Domain Naming System, DNS HTTP.
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
2: Application Layer1 Chapter 2: Application Layer Our goals: r conceptual, implementation aspects of network application protocols m transport-layer service.
1 Java Networking – Part I CS , Spring 2008/9.
EEC-484/584 Computer Networks Discussion Session for HTTP and DNS Wenbing Zhao
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 23 – Internet Applications Internet Directory.
Chapter 2: Application layer  2.1 Web and HTTP  2.2 FTP 2-1 Lecture 5 Application Layer.
Domain Name System: DNS
Some slides are in courtesy of J. Kurose and K. Ross Review of Previous Lecture Electronic Mail: SMTP, POP3, IMAP DNS Socket programming with TCP.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
5/12/05CS118/Spring051 A Day in the Life of an HTTP Query 1.HTTP Brower application Socket interface 3.TCP 4.IP 5.Ethernet 2.DNS query 6.IP router 7.Running.
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.
Introduction 1 Lecture 7 Application Layer (FTP, ) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering.
CSE 461 University of Washington1 Where we are in the Course Starting the Application Layer! – Builds distributed “network services” (DNS, Web) on Transport.
Introduction 1-1 Chapter 2 FTP & Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 IC322 Fall.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
Cisco Discovery Working at a Small-to-Medium Business or ISP CHAPTER 7 ISP Services Jr.
CSE 461 University of Washington1 Recall Application layer protocols are often part of an “app” – But don’t need a GUI, e.g., DNS TCP IP HTTP app.
DNS and HTTP. Finally, the application layer! We have learned about: – Signals being sent on wires – Frames carried over dumb local networks – Packets.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7.
SMUCSE 4344 application layer. SMUCSE 4344 application vs. application-layer protocols application-layer protocol is just one piece –how the end hosts.
Network Technologies essentials Week 4: Internetworking Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University of.
1 Application Layer Lecture 4 Imran Ahmed University of Management & Technology.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 ISP Services Working at a Small-to-Medium Business or ISP – Chapter 7.
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.
Network Technologies essentials Week 8: TCP congestion control Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University.
1 Computer Communication & Networks Lecture 28 Application Layer: HTTP & WWW p Waleed Ejaz
Sistem Jaringan dan Komunikasi Data #9. DNS The Internet Directory Service  the Domain Name Service (DNS) provides mapping between host name & IP address.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Application Layer Chapter 7.
TCP/IP Protocols Dr. Sharon Hall Perkins Applications World Wide Web(HTTP) Presented by.
Network Technologies essentials Week 9: Distributed file sharing & multimedia Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall,
COMT 6251 Network Layers COMT Overview IP and general Internet Operations Address Mapping ATM LANs Other network protocols.
Traditional Internet Applications Dr. John P. Abraham Professor UTRGV.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
Network Technologies essentials Week 5: Routing Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University of Washington.
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
Network Technologies essentials Week 3: Retransmission, sharing links, switching Compilation made by Tim Moors, UNSW Australia Original slides by David.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Integrating and Troubleshooting Citrix Access Gateway.
CSE 461 University of Washington1 Where we are in the Course Finishing off the Link Layer! – Builds on the physical layer to transfer frames over connected.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
* Agenda  What is the DNS ?  Poisoning the cache  Short term solution  Long term solution.
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.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
CS470 Computer Networking Protocols
1. Layered Architecture of Communication Networks: TCP/IP Model
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
The Application Layer Chapter Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 23 – Internet Applications Internet Directory.
1 Chapter 10: Application Layer Reference: Chapter 7 - “Computer Networks”, Andrew S. Tanenbaum, 4th Edition, Prentice Hall, 2003.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Ch 2. Application Layer Myungchul Kim
R Some of these slides are from Prof Frank Lin SJSU. r Minor modifications are made. 1.
Communication Networks NETW 501 Tutorial 2
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Computer Network 1 HCM City University of Technology
Understand Names Resolution
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Chapter 1 Introduction Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Computer Communication & Networks
HyperText Transfer Protocol
Internet Applications & Programming
COMPUTER NETWORKS PRESENTATION
Presentation transcript:

Network Technologies essentials Week 9: Applications: DNS and HTTP Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University of Washington ISBN-10: © 2014 For the book A. Tanenbaum and D. Wetherall: Computer Networks, 5 th ed, Prentice-Hall, 2011A. Tanenbaum and D. Wetherall: Computer Networks, 5 th ed, Prentice-Hall, 2011 Note that videos are numbered 8-*

Names and Addresses Names are higher-level identifiers for resources Addresses are lower-level locators for resources – Multiple levels, e.g. full name   IP address  Ethernet address Resolution (or lookup) is mapping a name to an address Computer Networks2 Directory Name, e.g. “Andy Tanenbaum,” or “flits.cs.vu.nl” Address, e.g. “Vrije Universiteit, Amsterdam” or IPv4 “ ” Lookup 8-2.3

DNS Zones A zone is a contiguous portion of the namespace Computer Networks3 A zone Delegation 8-2.8

Computer Networks4 DNS Resource Records (2) IP addresses of computers Name server Mail gateways

CSE 461 University of Washington5 DNS Protocol Query and response messages – Built on UDP messages, port 53 – ARQ for reliability; server is stateless! – Messages linked by a 16-bit ID field Query Response Time ClientServer ID=0x

DNS Resolution (2) flits.cs.vu.nl resolves robot.cs.washington.edu CSE 461 University of Washington

CSE 461 University of Washington7 Iterative vs. Recursive Queries Recursive query – Nameserver completes resolution and returns the final answer – E.g., flits  local nameserver Iterative query – Nameserver returns the answer or who to contact next for the answer – E.g., local nameserver  all others 8-3.6

Caching (2) flits.cs.vu.nl now resolves eng.washington.edu – And previous resolutions cut out most of the process CSE 461 University of Washington8 1: query 2: query UW nameserver (for washington.edu) 3: eng.washington.edu4: eng.washington.edu Local nameserver (for cs.vu.nl) I know the server for washington.edu! Cache 8-3.9

Computer Networks9 Fetching a Web page with HTTP Start with the page URL: Steps: – Resolve the server to IP address (DNS) – Set up TCP connection to the server – Send HTTP request for the page – (Await HTTP response for the page) – Execute / fetch embedded resources / render – Clean up any idle TCP connections Protocol Page on server Server ** 8-4.6

Computer Networks10 HTTP Protocol (2) Commands used in the request MethodDescription GETRead a Web page HEADRead a Web page's header POSTAppend to a Web page PUTStore a Web page DELETERemove the Web page TRACEEcho the incoming request CONNECTConnect through a proxy OPTIONSQuery options for a page Fetch page Upload data

HTTP Protocol (3) Codes returned with the response Computer Networks11 CodeMeaningExamples 1xxInformation100 = server agrees to handle client's request 2xxSuccess200 = request succeeded; 204 = no content present 3xxRedirection301 = page moved; 304 = cached page still valid 4xxClient error403 = forbidden page; 404 = page not found 5xxServer error500 = internal server error; 503 = try again later Yes!

Computer Networks12 Early Performance (3) Many reasons why PLT is larger than necessary – Sequential request/responses, even when to different servers – Multiple TCP connection setups to the same server – Multiple TCP slow-start phases Network is not used effectively – Worse with many small resources / page 8-5.6

Computer Networks13 Persistent Connections Parallel connections compete with each other for network resources – 1 parallel client ≈ 8 sequential clients? – Exacerbates network bursts, and loss Persistent connection alternative – Make 1 TCP connection to 1 server – Use it for multiple HTTP requests 8-5.9

Persistent Connections (3) Computer Networks14 One request per connection Sequential requests per connection Pipelined requests per connection

END © 2013 D. Wetherall Slide material from: TANENBAUM, ANDREW S.; WETHERALL, DAVID J., COMPUTER NETWORKS, 5th Edition, © Electronically reproduced by permission of Pearson Education, Inc., Upper Saddle River, New Jersey Computer Networks15