Internet Applications

Size: px
Start display at page:

Download "Internet Applications"

Transcription

1 Internet Applications รศ.ดร. อน นต ผลเพ ม Assoc. Prof. Anan Phonphoem, Ph.D. Computer Engineering Department Kasetsart University, Bangkok, Thailand 1

2 Outline Client-Server WWW DNS 2

3 Application Layer Examples Hypertext Transfer Protocol (HTTP) Domain Name System (DNS) Telnet File Transfer Protocol (FTP) Trivial File Transfer Protocol (TFTP) Simple Mail Transport Protocol (SMTP) Simple Network Management Protocol (SNMP) 3

4 Responsibilities of Application Layer Identifying and establishing the availability of intended communication partners Synchronizing cooperating applications Establishing agreement on procedures for error recovery Controlling data integrity 4

5 Application Definition Programs run on behalf of users serve specific service requests Application types self-contained (take input show output) remote interaction (send-receive info.) client receive instruction from user server react/service as requested 5

6 Application-Layer Protocols 2 broad types of application-layer protocols (depend on the intended use) Private communication proprietary, limited scope Standardized service standard, Internetwide: Web server, FTP, etc. Standards for the Internet are known as Request for Comments (RFCs) 6

7 Representation And Transfer Application-layer protocols specify two aspects of interaction: Representation Transfer 7

8 Client-Server Architecture Most network application Server use well-known port numbers (i.e. a part of shop address) run all the time Client use an ephemeral port number (i.e. a part of user address) terminate after the service. 8

9 Client-Server Client Application Client Application Daemon Server Application Client Internet Server Client Application Connection: TCP or UDP and Ports 9

10 Connectionless Iterative Server Legend Datagram from client 1 Datagram from client 2 Datagram from client 3 10

11 Connection-Oriented Concurrent Server 11

12 TCP/IP protocol suite and OS 12

13 Sockets Basic Concepts 13

14 Sockets Basic Concepts 14

15 Connectionless Iterative: using UDP 15

16 Connection-Oriented Concurrent: TCP Client Server 16

17 Connection-Oriented Concurrent: TCP Client Server Connection handshake 17

18 Connection-Oriented Concurrent: TCP Client Server 18

19 Parent / Child Process c. After folk 19

20 World Wide Web

21 Web Protocols The World Wide Web (WWW) is one of the most widely used services in the Internet 21

22 Markup Language Method of presenting document in common character set (ASCII) Using tag for formatting instruction embedded in the text inform application how to display document font, indentation, text color, etc. e.g. word processor 22

23 Hypertext A collection of documents containing cross-references or "links" Use in interactive browser program allow reader to move easily from one document to another point-and-click references between doc. 23

24 Hypertext 24

25 Hypertext Markup Language (HTML) Coded format language used for creating hypertext documents on WWW controlling how Web pages appear HTML documents are written in plain text with the addition of tags Example tag ANCHOR <A> tag create link <A HREF=" Welcome page</a> 25

26 General Form of HTML Document <HTML> <HEAD> <TITLE> Intelligent Wireless Network Group </TITLE> </HEAD> <BODY> <A HREF=" University Page</A> </BODY> </HTML> Whitespaces do not matter <HTML><HEAD><TITLE>Intelligent Wireless Network Group</TITLE></HEAD><BODY>Kasetsart University</BODY> </HTML> 26

27 Universal Resource Locators (URLs) Address identifies the location of a Web page A way of specifying the location of something on the Internet Indicate service used to access the resource mailto://<username>@<hostname> 27

28 Hypertext Transfer Protocol (HTTP) Most extensively used in the Internet Communication between web browsers and web server Standard access protocol to allow applications to get and send document and files across Internet 28

29 Hypertext Transfer Protocol (HTTP) A browser is a client that extracts a server name from a URL and contacts the server Most URLs contain an explicit protocol reference of or omit the protocol altogether (HTTP is assumed) HTTP is hidden behind web browser GUI TCP connection with well-known port 80 29

30 HTTP transaction request/response message use HTTP message header followed by MIME MIME: Multipurpose Internet Mail Extensions 30

31 HTTP Once it establishes a connection a browser sends an HTTP request to the server 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 31

32 Request Message Method indicates what to be performed on the resource identified by the Request-URL Ex.: GET, PUT, HEAD HTTP Example: GET HTTP/1.1 32

33 Response Message Status code: Same format as FTP responses (three digits) Example: HTTP/ OK Status Code 200 The request has succeeded 33

34 Headers Example: Accept: image/gif 34

35 Example: Retrieve Document GET method request line Header Status line GET method to retrieve an image with the path 35

36 Example: Retrieve Document HEAD method HEAD method to retrieve information about an HTML document 36

37 Example: POST method POST method to send input data to the server 37

38 Web Browser Architecture A browser must understand HTTP (at least) A browser also provides support for other protocols Knows how to interact with a server and how to interpret responses E.g., a browser must know how to access the FTP (File Transfer Protocol) service Knows what external program to launch for particular protocol code 38

39 Domain Name System (DNS) 39

40 Naming Purpose Addresses are used to locate objects Names are easier to remember than numbers To get to the address or other objects prefer using a name 40

41 Domain Name System (DNS) System used for translating names of domains into IP addresses using lookup mechanism Domain names comprise a hierarchy (tree) unique easy to remember DNS can use the services of UDP or TCP using the well-known port

42 DNS Mapping Process User 1 Host name 2 Host name 6 IP address Transport layer 5 IP address 3 Query Response 4 42

43 IP Address Mapping Example name server 2 สอบถามช อโดเมน nontri.ku.ac.th ผ ใช 1 ใช ช อโดเมน telnet nontri.ku.ac.th TELNET ตอบไอพ แอดเดรส TCP IP 43

44 DNS Features A globally distributed maintain data locally, but retrievable globally No single computer has all DNS data Loosely coherent replicate changes (timing set by the zone admin) Scalable not limited size not limited # of query Reliable (data replicate) Dynamic database 44

45 DNS Concept Domain names can be mapped to a tree New branches at the dots No restriction to the amount of branches www ftp ripe ws1 disi net ws2 isi edu sun com www tislabs moon google 45

46 Top-Level Domains (TLDs) The most significant segment of each domain name is called a top-level domain (TLD) Controlled by the Internet Corporation for Assigned Names and Numbers (ICANN) ICANN designates one or more domain registrars to administer a given top-level domain and approve specific names 46

47 DNS in Internet ราก arpa com edu gov int mil net org de th uk in-addr mit usu ac go or cc ku mua nectec โดเมนท วไป nontri mis nucleus cc.usu.edu. 2 โดเมนผกผ น nontri.ku.ac.th. nucleus.nectec.or.th. โดเมนระด บประเทศ in-addr.arpa. = ม ต นไม ย อยได อ ก 47

48 Standard Name Space (Top Level) com edu gov mil net org th commercial education goverment military network operator organization country New.aero.biz.coop.info.name.pro 48

49 Inverse Domain in-addr arpa ราก in-addr.arpa nontri.ku.ac.th 49

50 Hostname Structure Sequence of labels separated by periods each label can be up to 63 characters total name can be at most 255 characters Examples: iwing.cpe.ku.ac.th 50

51 Domain Name and Label Absolute Domain Name challenger.atc.fhda.edu. Relative Domain Name atc atc.fhda.edu. 51

52 Domain Concept 52

53 Domain ku.ac.th ราก th Node ku.ac.th go ac Domain ku.ac.th ku 53

54 Sub-Domain ราก th Domain cpc.ku.ac.th go ac ku Domain ku.ac.th Domain sci.ku.ac.th cpc eng lib sci Domain eng.ku.ac.th ce ie me Domain lib.ku.ac.th 54

55 Delegation Administrator can create sub-domains according to geography, affiliation or other criterion Domain Admin may delegate responsibility for managing a sub-domain Parent domain retains links to delegated sub-domain parent domain remembers who it delegated the sub-domain to 55

56 Zones and Domains 56

57 Zones and Delegations Zones are administrative spaces Zone administrators are responsible for portion of a domain s name space Authority is delegated from a parent and to a child net zone net domain ripe.net zone disi.ripe.net zone ripe net www disi ftp ws2 edu isi ws1 com sun moon google tislabs www 57

58 Zone and Domain ราก th go ac ku Zone ku Domain ku cpc eng lib sci ce ie me 58

59 Zone and Domain ราก th go ac ku Zone ku Domain ku Domain eng Zone eng cpc ce ie eng me lib sci Domain lib Zone lib 59

60 Name Servers Name servers answer DNS questions Several types of name servers Authoritative servers master (primary) slave (secondary) (Caching) recursive servers also caching forwarders Mixture of functionality 60

61 Authoritative Name Servers Give authoritative answers for one or more zones Master server loads data from zone file Slave server replicates data from master via a zone transfer slave master slave 61

62 Recursive Name Server Perform actual lookups ask questions to DNS on behalf of clients Answers are obtained from authoritative servers but answers forwarded to clients are marked as not authoritative Answers are stored for future reference in cache 62

63 Resolver Ask questions to DNS system on behalf of the application Normally implemented in a system library (e.g, libc) gethostbyname (char *name); gethostbyaddr (char *addr, int len, type); 63

64 ไคลเอ นต nontri.ku.ac.th Browser OS's resolver DNS process Recursive Query 1 jaguar.lcs Add to cache.mit.edu jaguar.lcs.mit.edu 2 3 w20ns.mit.edu, jaguar.lcs.mit.edu 4 mintaka.lcs.mit.edu, ns.ku.ac.th Recursive Server (nomally) Iterative Query jaguar.lcs.mit.edu 6 7 jaguar.lcs.mit.edu, ร ทเนมเซ ร ฟเวอร Always Iterative Server เนมเซ ร ฟเวอร mit.edu w20ns.mit.edu เนมเซ ร ฟเวอร lcs.mit.edu mintaka.lcs.mit.edu

65 DNS process ไคลเอ นต nontri.ku.ac.th ร ทเนมเซ ร ฟเวอร Always Iterative Server Browser 1 jaguar.lcs.mit.edu เนมเซ ร ฟเวอร mit.edu OS's resolver ns.ku.ac.th 5 w20ns.mit.edu Add to cache Iterative Server 6, เนมเซ ร ฟเวอร lcs.mit.edu mintaka.lcs.mit.edu

66 DNS Message 68

67 Query Record Format (Question) admin.atc.fhda.edu. 69

68 DNS Exchange ftp.nectec.or.th เนมเซ ร ฟเวอร 1 2 ku.ac.th ku.or.th ftp.nectec.or.th เนมเซ ร ฟเวอร nectec.or.th nontri.ku.ac.th ftp.nectec.or.th, 4 ns.ku.ac.th ns.nectec.or.th

69 nontri.ku.ac.th ns.ku.ac.th ftp.nectec.or.th เนมเซ ร ฟเวอร 1 2 ku.or.th ku.ac.th ftp.nectec.or.th เนมเซ ร ฟเวอร nectec.or.th ftp.nectec.or.th, nontri.ku.ac.th 4 ns.ku.ac.th ns.nectec.or.th ไอพ เฮดเดอร (บางส วน) destination= identification=10 source= query, standard, recursive ด เอ นเอสเฮดเดอร number of questions = 1 number of answers RRs = 0 number of authority RRs = 0 numberof additional RRs = 0 ส วนค าถาม name=ftp.nectec.or.th., type=a, class=in Type A = indicate that VALUE is an IP Add Class IN = indicate Internet 71

70 ns.ku.ac.th ns.nectec.or.th ftp.nectec.or.th เนมเซ ร ฟเวอร 1 2 ku.or.th ku.ac.th ftp.nectec.or.th เนมเซ ร ฟเวอร nectec.or.th ftp.nectec.or.th, nontri.ku.ac.th 4 ns.ku.ac.th ns.nectec.or.th destination= identification=20 source= query, standard, recursive ด เอ นเอสเฮดเดอร number of questions = 1 number of answers RRs = 0 number of authority RRs = 0 numberof additional RRs = 0 ส วนคาถาม name=ftp.nectec.or.th., type=a, class=in 72

71 DNS File Example BIND (Berkeley Internet Name Domain) Unix use daemon named ns มาสเตอร เนมเซ ร ฟเวอร /etc/named.conf /usr/local//named/db.ku /usr/local/named/db.rev /usr/local/named/db.local /usr/local/named/db.cache ns2 สเลฟเนมเซ ร ฟเวอร /etc/named.conf /usr/local/named/db.ku * /usr/local/named/db.rev * /usr/local/named/db.local /usr/local/named/db.cache www mail nontri omega sigma 73

72 nslookup Interactive resolver allows user to communicate directly with a DNS server 74

73 dig 75

74 References TCP/IP Protocol Suite, 2nd Edition, Behrouz A. Forouzan Introduction to the DNS system, Olaf M. Kolkman CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers, cisco.com Address Conversion Functions and The Domain Name System, Anonymous ส รศ กด สงวนพงษ, ท ซ พ ไอพ 76

Application Protocols

Application Protocols Application Protocols รศ.ดร. อน นต ผลเพ ม Asso. Prof. Anan Phonphoem, Ph.D. anan.p@ku.ac.th http://www.cpe.ku.ac.th/~anan Computer Engineering Department Kasetsart University, Bangkok, Thailand 1 Outline

More information

Internet Applications II

Internet Applications II Internet Applications II รศ.ดร. อน นต ผลเพ ม Asso. Prof. Anan Phonphoem, Ph.D. anan.p@ku.ac.th http://www.cpe.ku.ac.th/~anan Computer Engineering Department Kasetsart University, Bangkok, Thailand 1 Application

More information

Traditional Internet Applications

Traditional Internet Applications Traditional Internet Applications Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th http://www.cpe.ku.ac.th/~cpj Computer Engineering Department Kasetsart University, Bangkok, Thailand Adapted from

More information

DNS Concepts. Acknowledgements July 2005, Thimphu, Bhutan. In conjunction with SANOG VI. Bill Manning Ed Lewis Joe Abley Olaf M.

DNS Concepts. Acknowledgements July 2005, Thimphu, Bhutan. In conjunction with SANOG VI. Bill Manning Ed Lewis Joe Abley Olaf M. 16-20 July 2005, Thimphu, Bhutan In conjunction with SANOG VI DNS Concepts Acknowledgements Bill Manning Ed Lewis Joe Abley Olaf M. Kolkman NeuStar 1 Purpose of naming Addresses are used to locate objects

More information

2. Introduction to Internet Applications

2. Introduction to Internet Applications 2. Introduction to Internet Applications 1. Representation and Transfer 2. Web Protocols 3. Some Other Application Layer Protocols 4. Uniform Resource Identifiers (URIs) 5. Uniform Resource Locators (URLs)

More information

page 1 Plain Old DNS WACREN, DNS/DNSSEC Regional Workshop Ouagadougou, October 2016

page 1 Plain Old DNS WACREN, DNS/DNSSEC Regional Workshop Ouagadougou, October 2016 page 1 Plain Old DNS WACREN, DNS/DNSSEC Regional Workshop Ouagadougou, 10-14 October 2016 page 2 IP: Identifiers on the Internet The fundamental identifier on the internet is an IP address. Each host connected

More information

DNS Basics BUPT/QMUL

DNS Basics BUPT/QMUL DNS Basics BUPT/QMUL 2018-04-16 Related Information Basic function of DNS Host entry structure in Unix Two system calls for DNS database retrieving gethostbyname () gethostbyaddr () 2 Agenda Brief introduction

More information

Application Layer Protocols

Application Layer Protocols Application Layer Protocols Dr. Ihsan Ullah Department of Computer Science & IT University of Balochistan, Quetta Pakistan Email: ihsan.ullah.cs@gmail.com These slides are adapted from the slides accompanying

More information

Protocol Classification

Protocol Classification DNS and DHCP TCP/IP Suite Suite of protocols (not just TCP and IP) Main protocols TCP and UDP at the Transport Layer, and IP at the Network Layer Other protocols ICMP, ARP, Telnet, Ftp, HTTP, SMTP, SNMP

More information

ECE 650 Systems Programming & Engineering. Spring 2018

ECE 650 Systems Programming & Engineering. Spring 2018 ECE 650 Systems Programming & Engineering Spring 2018 Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) Tyler Bletsch Duke University Slides are adapted from Brian Rogers (Duke) Dynamic

More information

APNIC elearning: DNS Concepts

APNIC elearning: DNS Concepts APNIC elearning: DNS Concepts 27 MAY 2015 11:00 AM AEST Brisbane (UTC+10) Issue Date: Revision: Introduction Presenter Sheryl Hermoso Training Officer sheryl@apnic.net Specialties: Network Security IPv6

More information

DNS. DNS is an example of a large scale client-server application.

DNS. DNS is an example of a large scale client-server application. DNS Domain Name System: DNS Objective: map names to IP addresses (i.e., high level names to low level names) Original namespace was flat, didn t scale.. Hierarchical naming permits decentralization by

More information

Networking Applications

Networking Applications Networking Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab Academy for Science & Technology and Maritime Transport 1 Outline Introduction Name Space concepts Domain Name Space

More information

CSE 265: System & Network Administration

CSE 265: System & Network Administration CSE 265: System & Network Administration DNS The Domain Name System History of DNS What does DNS do? The DNS namespace BIND software How DNS works DNS database Testing and debugging (tools) DNS History

More information

Welcome! Acknowledgements. Introduction to DNS. cctld DNS Workshop October 2004, Bangkok, Thailand

Welcome! Acknowledgements. Introduction to DNS. cctld DNS Workshop October 2004, Bangkok, Thailand Welcome! cctld DNS Workshop 8-11 October 2004, Bangkok, Thailand Champika Wijayatunga, APNIC Acknowledgements Bill Manning Ed Lewis Joe Abley Olaf M. Kolkman EP.NET Introduction to

More information

Chapter 19. Domain Name System (DNS)

Chapter 19. Domain Name System (DNS) Chapter 19 Domain Name System (DNS) TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. OBJECTIVES: To describe the purpose of DNS. To define

More information

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers 2007, Jae-sul Lee. All rights reserved. 1 Agenda 11.1 TCP/IP Transport Layer 11.2 The Application Layer What does the TCP/IP transport layer

More information

DNS and HTTP. A High-Level Overview of how the Internet works

DNS and HTTP. A High-Level Overview of how the Internet works DNS and HTTP A High-Level Overview of how the Internet works Adam Portier Fall 2017 How do I Google? Smaller problems you need to solve 1. Where is Google? 2. How do I access the Google webpage? 3. How

More information

Lecture 05 Application Layer - I

Lecture 05 Application Layer - I Computer Networks and Internet Protocol Prof. Soumya Kanti Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture 05 Application Layer - I Hi. So, we will

More information

Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0

Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0 Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0 CCNET v6 10 Chapter 10 - Sections & Objectives 10.1 Application Layer Protocols Explain the operation of the application

More information

A DNS Tutorial

A DNS Tutorial http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/ Copyright Table of Contents What is a DNS?... 3 Why do we need a DNS?... 3 Why do computers prefer addresses based on numbers?... 3 What is a Domain Name,

More information

Overview General network terminology. Chapter 9.1: DNS

Overview General network terminology. Chapter 9.1: DNS Overview General network terminology Chapter 9.1: DNS Jan-29-04 4/598N: Computer Networks 1 Connection mechanisms Connectionless or packet switching Each packet carries with it the source and destination

More information

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Domain Name System

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Domain Name System Application Protocols in the TCP/IP Reference Model Application Protocols in the TCP/IP Reference Model File Transfer E-Mail Network Management Protocols of the application layer are common communication

More information

Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1

Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1 Networking Basics EC512 Spring 2015 2/15/2015 EC512 - Prof. Thomas Skinner 1 Protocols Protocols are required in order to allow information to be extracted from the stream of bits flowing from one point

More information

Application Layer: OSI and TCP/IP Models

Application Layer: OSI and TCP/IP Models Application Layer Application Layer: OSI and TCP/IP Models The communication process between two communicating nodes is actually a communication process between two applications on these devices. Service

More information

The Application Layer: Sockets, DNS

The Application Layer: Sockets, DNS The Application Layer: Sockets, DNS CS 352, Lecture 3 http://www.cs.rutgers.edu/~sn624/352-s19 Srinivas Narayana 1 App-layer protocol Types of messages exchanged, e.g., request, response Message format:

More information

Types of Transfer. Connection-oriented Transfer. Connectionless Transfer. Networks generally provide two types of communication. Connection-oriented

Types of Transfer. Connection-oriented Transfer. Connectionless Transfer. Networks generally provide two types of communication. Connection-oriented Types of Transfer Networks generally provide two types of communication Connection-oriented reliable stream based Connectionless unreliable datagram based CSCI 342 - Networking Connection-oriented Transfer

More information

DNS and SMTP. James Walden CIT 485: Advanced Cybersecurity. James WaldenCIT 485: Advanced Cybersecurity DNS and SMTP 1 / 31

DNS and SMTP. James Walden CIT 485: Advanced Cybersecurity. James WaldenCIT 485: Advanced Cybersecurity DNS and SMTP 1 / 31 DNS and SMTP James Walden CIT 485: Advanced Cybersecurity James WaldenCIT 485: Advanced Cybersecurity DNS and SMTP 1 / 31 Table of contents 1. DNS 2. DNS Protocol Packets 3. DNS Caching 4. DNS Cache Poisoning

More information

Client Server Concepts, DNS, DHCP

Client Server Concepts, DNS, DHCP Client Server Concepts, DNS, DHCP Prof. I. Sengupta / Dr. S.K. Ghosh School of Information Technology Indian Institute of Technology, Kharagpur 1 Client-Server Model 2 Client-server Model Standard model

More information

Domain Name Service. DNS Overview. October 2009 Computer Networking 1

Domain Name Service. DNS Overview. October 2009 Computer Networking 1 Domain Name Service DNS Overview October 2009 Computer Networking 1 Why DNS? Addresses are used to locate objects (contain routing information) Names are easier to remember and use than numbers DNS provides

More information

Application Protocols in the TCP/IP Reference Model

Application Protocols in the TCP/IP Reference Model Application Protocols in the TCP/IP Reference Model File Transfer E-Mail Network Management WWW Virtual Terminal Name Service File Transfer HTTP FTP Telnet SMTP DNS SNMP TFTP Internet protocols TCP UDP

More information

Internet Applications. Dr Steve Gordon ICT, SIIT

Internet Applications. Dr Steve Gordon ICT, SIIT Internet Applications Dr Steve Gordon ICT, SIIT Contents Network Application Models Transport Layer Interface Selected Applications and Services Naming Resources Web Access Email Network Management Other

More information

Name Services and DNS

Name Services and DNS In Academic Affiliation with Name Services and DNS Distributed Computer Systems Lecture 3 Module Leader: Mrs. Bobby Rishikesh 1 Contents What is a name service? SNS: A Simple Name Service DNS: Domain Name

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Application Layer III Dmitri Loguinov Texas A&M University February 8, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter

More information

Lecture 05: Application Layer (Part 02) Domain Name System. Dr. Anis Koubaa

Lecture 05: Application Layer (Part 02) Domain Name System. Dr. Anis Koubaa NET 331 Computer Networks Lecture 05: Application Layer (Part 02) Domain Name System Dr. Anis Koubaa Reformatted slides from textbook Computer Networking a top-down appraoch, Fifth Edition by Kurose and

More information

Outline Applications. Central Server Hierarchical Peer-to-peer. 31-Jan-02 Ubiquitous Computing 1

Outline Applications. Central Server Hierarchical Peer-to-peer. 31-Jan-02 Ubiquitous Computing 1 Outline Applications Central Server Hierarchical Peer-to-peer 31-Jan-02 Ubiquitous Computing 1 Networked distributed system architectures Central Server based Web servers Hierarchical Services Domain Name

More information

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322 1 Local & Metropolitan Area Networks ACOE322 Lecture 5 TCP/IP Protocol suite and IP addressing 1 0. INTRODUCTION We shall cover in this topic: 1. The relation of TCP/IP with internet and OSI model 2. Internet

More information

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided. 113 Chapter 9 TCP/IP Transport and Application Layer Services that are located in the transport layer enable users to segment several upper-layer applications onto the same transport layer data stream.

More information

Introduction to Network. Topics

Introduction to Network. Topics Introduction to Network Security Chapter 7 Transport Layer Protocols 1 TCP Layer Topics Responsible for reliable end-to-end transfer of application data. TCP vulnerabilities UDP UDP vulnerabilities DNS

More information

Chapter 2 Application Layer. Lecture 5 DNS. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Chapter 2 Application Layer. Lecture 5 DNS. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Chapter 2 Application Layer Lecture 5 DNS Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Application Layer 2-1 Chapter 2: outline 2.1 principles

More information

The Domain Name System

The Domain Name System The Domain Name System History of DNS Before DNS ARPAnet HOSTS.txt contains all the hosts information Maintained by SRI s Network Information Center In SRI-NIC host Problems: Not scalable! Traffic and

More information

Session 2. Background. Lecture Objectives

Session 2. Background. Lecture Objectives Session 2 Background 1 Lecture Objectives Understand how an Internet resource is accessed Understand the high level structure of the Internet cloud Understand the high level structure of the TCP/IP protocols

More information

Objectives. Upon completion you will be able to:

Objectives. Upon completion you will be able to: Domain Name System: DNS Objectives Upon completion you will be able to: Understand how the DNS is organized Know the domains in the DNS Know how a name or address is resolved Be familiar with the query

More information

S Computer Networks - Spring What and why? Structure of DNS Management of Domain Names Name Service in Practice

S Computer Networks - Spring What and why? Structure of DNS Management of Domain Names Name Service in Practice Outline What and why? Structure of DNS Management of Domain Names Name Service in Practice 188lecture12.ppt Pirkko Kuusela, Markus Peuhkuri, Jouni Karvo 1 2 Need Network addresses are numbers Addresses

More information

Domain Name System.

Domain Name System. Domain Name System http://xkcd.com/302/ CSCI 466: Networks Keith Vertanen Fall 2011 Overview Final project + presentation Some TCP and UDP experiments Domain Name System (DNS) Hierarchical name space Maps

More information

EECS 122: Introduction to Computer Networks DNS and WWW. Internet Names & Addresses

EECS 122: Introduction to Computer Networks DNS and WWW. Internet Names & Addresses EECS 122: Introduction to Computer Networks DNS and WWW Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720-1776 Internet

More information

Introduction to Internet, Web, and TCP/IP Protocols SEEM

Introduction to Internet, Web, and TCP/IP Protocols SEEM Introduction to Internet, Web, and TCP/IP Protocols SEEM 3460 1 Local-Area Networks A Local-Area Network (LAN) covers a small distance and a small number of computers LAN A LAN often connects the machines

More information

04 Identifiers. UUID URI Format Characteristics. Coulouris, Ch 9 rfc3986 Ahmed, 2005 Subharthi, 2009

04 Identifiers. UUID URI Format Characteristics. Coulouris, Ch 9 rfc3986 Ahmed, 2005 Subharthi, 2009 04 Identifiers UUID URI Format Characteristics Coulouris, Ch 9 rfc3986 Ahmed, 2005 Subharthi, 2009 Resource identification All resources should have a name Resource without Identifier Can not be shared

More information

0 TCP/IP overview. 0.1 The Internet

0 TCP/IP overview. 0.1 The Internet 0521841445 - / Essentials: A Lab-Based Approach 0 / overview From these assumptions comes the fundamental structure of the Internet: a packet switched communications facility in which a number of distinguishable

More information

Distributed Systems. Distributed Systems Within the Internet Nov. 9, 2011

Distributed Systems. Distributed Systems Within the Internet Nov. 9, 2011 15-440 Distributed Systems Distributed Systems Within the Internet Nov. 9, 2011 Topics Domain Name System Finding IP address Content Delivery Networks Caching content within the network Domain Name System

More information

CPET 499/ITC 250 Web Systems. Topics

CPET 499/ITC 250 Web Systems. Topics CPET 499/ITC 250 Web Systems Week 1 Web System Infrastructure, Protocols, and Applications Paul I-Hai Lin, Professor Dept. of Computer, Electrical, and Information Technology College of Engineering, Technology,

More information

CS4/MSc Computer Networking. Lecture 3: The Application Layer

CS4/MSc Computer Networking. Lecture 3: The Application Layer CS4/MSc Computer Networking Lecture 3: The Application Layer Computer Networking, Copyright University of Edinburgh 2005 Network Applications Examine a popular network application: Web Client-server architecture

More information

CS6421: Distributed Systems

CS6421: Distributed Systems CS6421: Distributed Systems Networks and Sockets Prof. Tim Wood!1 Before we start Participation: 1 contributions every 3 weeks - Ask/answer a question in class - Post to Piazza forum - Come of my office

More information

CCNA Exploration1 Chapter 3: Application Layer Functionality and Protocols

CCNA Exploration1 Chapter 3: Application Layer Functionality and Protocols CCNA Exploration1 Chapter 3: Application Layer Functionality and Protocols LOCAL CISCO ACADEMY ELSYS TU INSTRUCTOR: STELA STEFANOVA 1 Objectives Functions of the three upper OSI model layers, network services

More information

WEB TECHNOLOGIES CHAPTER 1

WEB TECHNOLOGIES CHAPTER 1 WEB TECHNOLOGIES CHAPTER 1 WEB ESSENTIALS: CLIENTS, SERVERS, AND COMMUNICATION Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson THE INTERNET Technical origin: ARPANET (late 1960

More information

04 Identifiers UUID. Coulouris, Ch 9 URI. rfc3986 Format. Ahmed, 2005 Characteristics. Subharthi, 2009

04 Identifiers UUID. Coulouris, Ch 9 URI. rfc3986 Format. Ahmed, 2005 Characteristics. Subharthi, 2009 04 Identifiers UUID Coulouris, Ch 9 URI rfc3986 Format Ahmed, 2005 Characteristics Subharthi, 2009 Resource identification All resources should have a name Resource without Identifier Can not be shared

More information

CCNA Exploration Network Fundamentals. Chapter 03 Application Functionality and Protocols

CCNA Exploration Network Fundamentals. Chapter 03 Application Functionality and Protocols CCNA Exploration Network Fundamentals Chapter 03 Application Functionality and Protocols Updated: 27/04/2008 1 3.1 Applications: The Interface Between Human and Networks Applications provide the means

More information

CS 716: Introduction to communication networks th class; 11 th Nov Instructor: Sridhar Iyer IIT Bombay

CS 716: Introduction to communication networks th class; 11 th Nov Instructor: Sridhar Iyer IIT Bombay CS 716: Introduction to communication networks - 24 th class; 11 th Nov 2011 Instructor: Sridhar Iyer IIT Bombay Layering: physical communication data application transport network link physical application

More information

Chapter 2. Application Layer

Chapter 2. Application Layer Chapter 2 Application Layer 2.1. 2-1 INTRODUCTION - The application layer provides services to the user - Communication is provided using a logical connection means that the two application layers assume

More information

CS 3640: Introduction to Networks and Their Applications

CS 3640: Introduction to Networks and Their Applications CS 3640: Introduction to Networks and Their Applications Fall 2018, Lecture 19: Application Layer III (Credit: Prof. Phillipa Gill @ University of Massachusetts) Instructor: Rishab Nithyanand Teaching

More information

DNS & Iodine. Christian Grothoff.

DNS & Iodine. Christian Grothoff. DNS & Iodine christian@grothoff.org http://grothoff.org/christian/ The Domain Name System is the Achilles heel of the Web. Tim Berners-Lee 1 DNS: Domain Name System Unique Distributed Database Application-layer

More information

DNS/DNSSEC Workshop. In Collaboration with APNIC and HKIRC Hong Kong. Champika Wijayatunga Regional Security Engagement Manager Asia Pacific

DNS/DNSSEC Workshop. In Collaboration with APNIC and HKIRC Hong Kong. Champika Wijayatunga Regional Security Engagement Manager Asia Pacific DNS/DNSSEC Workshop In Collaboration with APNIC and HKIRC Hong Kong Champika Wijayatunga Regional Security Engagement Manager Asia Pacific 22-24 January 2018 1 Agenda 1 2 3 Introduction to DNS DNS Features

More information

CS519: Computer Networks. Lecture 6: Apr 5, 2004 Naming and DNS

CS519: Computer Networks. Lecture 6: Apr 5, 2004 Naming and DNS : Computer Networks Lecture 6: Apr 5, 2004 Naming and DNS Any problem in computer science can be solved with another layer of indirection David Wheeler Naming is a layer of indirection What problems does

More information

Linux Network Administration

Linux Network Administration Linux Network Administration Objective Describe the organization of the namespace Define the top-level subdomains of the Describe the process of converting IP addresses into names Define the concept of

More information

MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration. Chapter 5 Introduction to DNS in Windows Server 2008

MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration. Chapter 5 Introduction to DNS in Windows Server 2008 MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008 Objectives Discuss the basics of the Domain Name System (DNS) and its

More information

Chapter 10: Application Layer

Chapter 10: Application Layer Chapter 10: Application Layer Application, Session and Presentation Presentation and Session Layers Session layer Functions, creates, and maintains dialogs between source and destination applications Handles

More information

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems Outline CSCI 4061 Introduction to Operating Systems ing Overview Layering and Protocols TCP/IP Protocol Family Client-Server Model Instructor: Abhishek Chandra 2 Inter-Process Communication Intra-node:

More information

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1 TCP/IP Overview Basic Networking Concepts 09/14/11 Basic TCP/IP Networking 1 What is TCP/IP? TCP/IP is a name refers to an entire collection of data communication protocols: TCP: Transmission Control Protocol

More information

ROOT SERVERS MANAGEMENT AND SECURITY

ROOT SERVERS MANAGEMENT AND SECURITY ROOT SERVERS MANAGEMENT AND SECURITY WSIS African regional meeting 01/29/05 ALAIN PATRICK AINA aalain@trstech.net What is DNS(1)? Addresses are used to locate objects Names are easier to remember than

More information

SOFTWARE ARCHITECTURE 9. NAME RESOLUTION.

SOFTWARE ARCHITECTURE 9. NAME RESOLUTION. 1 SOFTWARE ARCHITECTURE 9. NAME RESOLUTION Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 OSI Reference Model Open Systems Interconnect ISO defined around 1984. Application

More information

FTP. Client Server Model. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Server Models

FTP. Client Server Model. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Server Models Client Server Model Client: Any program can be a client temporarily of a specific remote service. Generally it is invoked, controlled by user. It runs only one session. CS 4/55231 Internet Engineering

More information

Outline. Internet and World Wide Web. History of the Internet. What is the Internet? How Does Data Travel Through the Internet?

Outline. Internet and World Wide Web. History of the Internet. What is the Internet? How Does Data Travel Through the Internet? Outline Internet and World Wide Web Internet World Wide Web Creating Web Pages CS 1410 Intro to Computer Tecnology Internet and World Wide Web 2 What is the Internet? The internet is a network of networks

More information

Computer Networking: Applications George Blankenship. Applications George Blankenship 1

Computer Networking: Applications George Blankenship. Applications George Blankenship 1 CSCI 232 Computer Networking: Applications i George Blankenship Applications George Blankenship 1 TCP/IP Applications The user of TCP/IP transport (TCP/UDP) is an application, the top level lof the TCP/IP

More information

13. Internet Applications 최양희서울대학교컴퓨터공학부

13. Internet Applications 최양희서울대학교컴퓨터공학부 13. Internet Applications 최양희서울대학교컴퓨터공학부 Internet Applications Telnet File Transfer (FTP) E-mail (SMTP) Web (HTTP) Internet Telephony (SIP/SDP) Presence Multimedia (Audio/Video Broadcasting, AoD/VoD) Network

More information

Information Network I: The Application Layer. Doudou Fall Internet Engineering Laboratory Nara Institute of Science and Technique

Information Network I: The Application Layer. Doudou Fall Internet Engineering Laboratory Nara Institute of Science and Technique Information Network I: The Application Layer Doudou Fall Internet Engineering Laboratory Nara Institute of Science and Technique Outline Domain Name System World Wide Web and HTTP Content Delivery Networks

More information

Applications & Application-Layer Protocols: (SMTP) and DNS

Applications & Application-Layer Protocols:  (SMTP) and DNS CS 312 Internet Concepts Applications & Application-Layer Protocols: E (SMTP) and DNS Dr. Michele Weigle Department of Computer Science Old Dominion University mweigle@cs.odu.edu http://www.cs.odu.edu/~mweigle/cs312-f11

More information

Electronic Mail. Three Components: SMTP SMTP. SMTP mail server. 1. User Agents. 2. Mail Servers. 3. SMTP protocol

Electronic Mail. Three Components: SMTP SMTP. SMTP mail server. 1. User Agents. 2. Mail Servers. 3. SMTP protocol SMTP Electronic Mail Three Components: 1. User Agents a.k.a. mail reader e.g., gmail, Outlook, yahoo 2. Mail Servers mailbox contains incoming messages for user message queue of outgoing (to be sent) mail

More information

0 0& Basic Background. Now let s get into how things really work!

0 0& Basic Background. Now let s get into how things really work! +,&&-# Department of Electrical Engineering and Computer Sciences University of California Berkeley Basic Background General Overview of different kinds of networks General Design Principles Architecture

More information

Unit 28 Website Production ASSIGNMENT 1

Unit 28 Website Production ASSIGNMENT 1 Unit 28 Website Production ASSIGNMENT 1 Last week Learning outcomes History HTML skeleton Annotated diagram of a WAN Servers, routers, client PC, browser, Server OS Switch, packet Architecture ISP Web

More information

CCNA R&S: Introduction to Networks. Chapter 10: The Application Layer

CCNA R&S: Introduction to Networks. Chapter 10: The Application Layer CCNA R&S: Introduction to Networks Chapter 10: The Application Layer Frank Schneemann 10.0.1.1 Introduction 10.0.1.2 Activity - Application Investigation 10.1.1.1 OSI and TCP/IP Models Revisited The application

More information

Lecture 7: Application Layer Domain Name System

Lecture 7: Application Layer Domain Name System Lecture 7: Application Layer Domain Name System COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016, J.F Kurose

More information

Electrical Engineering Department EE 400, Experiment # 4 IP Addressing and Subnetting

Electrical Engineering Department EE 400, Experiment # 4 IP Addressing and Subnetting Electrical Engineering Department EE 400, Experiment # 4 IP Addressing and Subnetting Objectives: After this experiment, the students should be able to configure for networking, assign IP address, and

More information

Chapter 2: Application layer

Chapter 2: Application layer Chapter 2: Application layer 2.1 Principles of network applications 2.2 Web and HTTP 2.3 FTP 2.4 Electronic Mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 Socket programming with TCP 2.8 Socket

More information

Review for Internet Introduction

Review for Internet Introduction Review for Internet Introduction What s the Internet: Two Views View 1: Nuts and Bolts View billions of connected hosts routers and switches protocols control sending, receiving of messages network of

More information

Information Network Systems The application layer. Stephan Sigg

Information Network Systems The application layer. Stephan Sigg Information Network Systems The application layer Stephan Sigg Tokyo, November 15, 2012 Introduction 04.10.2012 Introduction to the internet 11.10.2012 The link layer 18.10.2012 The network layer 25.10.2012

More information

Application Layer. Goals: Service models. Conceptual aspects of network application protocols Client server paradigm

Application Layer. Goals: Service models. Conceptual aspects of network application protocols Client server paradigm Application Layer Goals: Conceptual aspects of network application protocols Client server paradigm Service models Review protocols by examining popular application-level protocols HTTP DNS 1 Applications

More information

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University Computer Networks More on Standards & Protocols Quality of Service Week 10 College of Information Science and Engineering Ritsumeikan University Introduction to Protocols l A protocol is a set of rules

More information

CSCD 330 Network Programming Winter 2015

CSCD 330 Network Programming Winter 2015 CSCD 330 Network Programming Winter 2015 Lecture 5 Application Layer Reading: Chapter 2 Still Some Material in these slides from J.F Kurose and K.W. Ross All material copyright 1996-2007 1 More Network

More information

Lab - Observing DNS Resolution

Lab - Observing DNS Resolution Objectives Part 1: Observe the DNS Conversion of a URL to an IP Address Part 2: Observe DNS Lookup Using the Nslookup Command on a Web Site Part 3: Observe DNS Lookup Using the Nslookup Command on Mail

More information

Miscellaneous. Name Service. Examples. Outline Domain Name System Peer-to-Peer Networks

Miscellaneous. Name Service. Examples. Outline Domain Name System Peer-to-Peer Networks Miscellaneous Outline Domain Name System Peer-to-Peer Networks Spring 2009 CS30264 1 Name Service Names versus addresses Location transparent versus location-dependent Flat versus hierarchical Resolution

More information

[Prof. Rupesh G Vaishnav] Page 1

[Prof. Rupesh G Vaishnav] Page 1 Q-1 Explain DNS (Domain Name System) in detail with example. OR Explain : DNS and its advantages DNS is an internet service that translates domain names into IP addresses. Because domain names are alphabetic,

More information

IPv4 (Part III) รศ.ดร. อน นต ผลเพ ม Asso. Prof. Anan Phonphoem, Ph.D. Nov 2010

IPv4 (Part III) รศ.ดร. อน นต ผลเพ ม Asso. Prof. Anan Phonphoem, Ph.D. Nov 2010 Nov 2010 IPv4 (Part III) รศ.ดร. อน นต ผลเพ ม Asso. Prof. Anan Phonphoem, Ph.D. anan.p@ku.ac.th http://www.cpe.ku.ac.th/~anan Computer Engineering Department Kasetsart University, Bangkok, Thailand 1 Outline

More information

UNIT III 1. Enumerate the properties of storage system? Sharing Persistent Distributed Consistency Example cache/replicas maintenance Main memory No No No 1 RAM File system n No Yes No 1 UNIX file system

More information

Uniform Resource Locators (URL)

Uniform Resource Locators (URL) The World Wide Web Web Web site consists of simply of pages of text and images A web pages are render by a web browser Retrieving a webpage online: Client open a web browser on the local machine The web

More information

Networks, WWW, HTTP. Web Technologies I. Zsolt Tóth. University of Miskolc. Zsolt Tóth (University of Miskolc) Networks, WWW, HTTP / 35

Networks, WWW, HTTP. Web Technologies I. Zsolt Tóth. University of Miskolc. Zsolt Tóth (University of Miskolc) Networks, WWW, HTTP / 35 Networks, WWW, HTTP Web Technologies I. Zsolt Tóth University of Miskolc 2018 Zsolt Tóth (University of Miskolc) Networks, WWW, HTTP 2018 1 / 35 Table of Contents Networks Internet 1 Networks Internet

More information

IP Addresses. An IPv4 address looks like this

IP Addresses. An IPv4 address looks like this DNS IP Addresses Domain Names Domain Name System The Domain Name Hierarchy Components of a Domain Name How DNS Works DNS Name Resolution Configuring DNS on it20 IP Addresses For a computer to talk to the

More information

Distributed Operating Systems

Distributed Operating Systems Distributed Operating Systems Name no more precise Interesting/advanced Topics in Operating Systems scalability systems security modeling Some overlap with Distributed Systems (Prof Schill) In some cases

More information

Application Layer: , DNS

Application Layer:  , DNS Application Layer: E-mail, DNS EECS 3214 Slides courtesy of J.F Kurose and K.W. Ross, All Rights Reserved 22-Jan-18 1-1 Chapter 2: outline 2.1 principles of network applications 2.2 Web and HTTP 2.3 electronic

More information

Chapter 2 Layer Architecture of Network Protocols. School of Info. Sci. & Eng. Shandong Univ.

Chapter 2 Layer Architecture of Network Protocols. School of Info. Sci. & Eng. Shandong Univ. Chapter 2 Architecture of Network Protocols School of Info. Sci. & Eng. Shandong Univ. Outline 2.1 Examples of ing 2.2 OSI Reference Model (Continued from last time) 2.3. TCP/IP Architecture 2.4 Berkeley

More information

Lecture 6 Application Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 6 Application Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 6 Application Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Application-layer protocols Application: communicating, distributed processes running in network hosts

More information