1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.

Slides:



Advertisements
Similar presentations
 This Class  Chapter 9  Next Class  Wrap up this semester  Demo/discuss programming assignments  Review what we have learned  Questionnaire/Feedback.
Advertisements

Domain Name System (or Service) (DNS) Computer Networks Computer Networks Term B10.
2/23/2004 Load Balancing February 23, /23/2004 Assignments Work on Registrar Assignment.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Spring 2012 Spring 2012.
2: Application Layer1 FTP, SMTP and DNS. 2: Application Layer2 FTP: separate control, data connections r FTP client contacts FTP server at port 21, specifying.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts, routers: –IP address (32 bit) - used for addressing datagrams –“name”, e.g., gaia.cs.umass.edu.
Application Layer At long last we can ask the question - how does the user interface with the network?
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach, 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.
Application Layer session 1 TELE3118: Network Technologies Week 12: DNS Some slides have been taken from: r Computer Networking: A Top Down Approach.
1 An Overview of Applications Xin Liu ECS 152A Ref: slides by J. Kurose and K. Ross.
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
DOMAIN NAME SYSTEM. Introduction  There are several applications that follow client server paradigm.  The client/server programs can be divided into.
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
DNS. Outline r Domain Name System r DNS Hierarchy r Resolution.
Name Resolution and DNS. Domain names and IP addresses r People prefer to use easy-to-remember names instead of IP addresses r Domain names are alphanumeric.
Electronic Mail Three major components: SMTP user agents mail servers
Chapter 2 Application Layer
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
CS 4396 Computer Networks Lab
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Domain Name System (DNS)
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail  SMTP,
DNS,SMTP,MIME.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross.
CS 471/571 Domain Name Server Slides from Kurose and Ross.
DNS: Domain Name System
2: Application Layer1 Internet apps: their protocols and transport protocols Application remote terminal access Web file transfer streaming multimedia.
1 DNS: Domain Name System People: many identifiers: m SSN, name, Passport # Internet hosts, routers: m IP address (32 bit) - used for addressing datagrams.
Chapter 2 Application Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April A note on the use.
Architecture of DNS CS 718 Activity 4 Submitted by Parag Abhyankar Anup S. Kunte
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 17 Domain Name System
DNS: Domain Name System People: many identifiers: – SSN, name, Passport # Internet hosts, routers: – IP address (32 bit) - used for addressing datagrams.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz.
1 DNS: Domain Name System People: many identifiers: m SSN, name, Passport # Internet hosts, routers: m IP address (32 bit) - used for addressing datagrams.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
Domain Name System CH 25 Aseel Alturki
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
1 Kyung Hee University Chapter 18 Domain Name System.
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
CS 3830 Day 10 Introduction 1-1. Announcements r Quiz #2 this Friday r Program 2 posted yesterday 2: Application Layer 2.
EE 122: Lecture 20 (Domain Name Server - DNS) Ion Stoica Nov 15, 2001 (* based on the some on-line slides of J. Kurose & K. Rose and of Raj Jain)
Lecture 5: Web Continued 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]
Net 221D:Computer Networks Fundamentals
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail  SMTP,
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
COMP 431 Internet Services & Protocols
Application Layer, 2.5 DNS 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.
Networking (Cont’d). Congestion Control l Is achieved by informing nodes along a route that congestion has occurred and asking them to reduce their packet.
So DNS is A client-server application that maps domain names into their corresponding IP addresses with the help of name servers. Mapping domain names.
CSEN 404 Application Layer II Amr El Mougy Lamia Al Badrawy.
Spring 2006 CPE : Application Layer_DNS 1 Special Topics in Computer Engineering Application layer: Domain Name System Some of these Slides are.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
CS 372 COMPUTER COMMUNICATION AND NETWORKS
Introduction to Networks
Session 6 INST 346 Technologies, Infrastructure and Architecture
Chapter 9: Domain Name Servers
Net 323 D: Networks Protocols
EE 122: Domain Name Server (DNS)
DNS: Domain Name System
16, May, 2010 Baseer Ahmad Baheer
The Application Layer: Sockets, DNS
FTP, SMTP and DNS 2: Application Layer.
DNS: Domain Name System
Presentation transcript:

1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology

2 Agenda Principles of network applications Web and HTTP FTP Electronic Mail –SMTP, POP3, IMAP DNS

3 DNS: Domain Name System Computers use addresses. Humans cannot remember IP addresses – need names. Simplest solution: Each computer has a unique name and has a build in table of name to address translation. Problem: Not scalable. Solution: DNS (adopted in 1983) Domain Name System: distributed database implemented in hierarchy of many name servers. application-layer protocol host, routers, name servers to communicate to resolve names (address/name translation). –note: core Internet function, implemented as application-layer protocol –complexity at network’s “edge”

4 Domain Name System (DNS) In the Internet, the domain name space (tree) is divided into three different sections:- –Generic domains –Country domains –Inverse domains

5 DNS in the Internet

6 Domain Name System (DNS) Generic domains: –It defines registered hosts according to their generic behavior. –Each node in a tree defines a domain, which is an index to the domain name space database.

7 Generic Domains

8 DNS Country Domain: –It follows the same format as the generic domains but uses two-character country abbreviations (e.g., “pk” or Pakistan) in place of the three-character organizational abbreviations at the first level. Inverse Domain: –It is used to map an address to a name. –This may happen, for example, when a server has received a request from a client to do a task. –Whereas the server has a file that contains a list of authorized clients, the server lists only the IP address of the client (extracted from the received IP packet). –To determine, if the client is on the authorized list, it can send a query to the DNS server and ask for a mapping of address to name.

9 Country Domains

10 Inverse Domain

11 DNS Name Servers Local Name Servers: –Each ISP, company has local (default) name server. –Host DNS query first goes to local name server. Authoritative Name Server: –For a host – stores that host’s IP address, name. –It can perform name/address translation for that host’s name.

12 DNS Name Servers Root Name Servers: –It contacts authoritative name server, if name mapping is not known. –Gets mapping and returns to local name server.

13

14 Simple DNS Example Host surf.eurecom.fr wants IP address of gaia.cs.umass.edu. 1.Contacts its local DNS server, dns.eurecom.fr 2.dns.eurecom.fr contacts root name servers, if necessary 3.Root name server contacts authoritative name server, dns.umass.edu, if necessary

15 DNS Example

16 DNS Example (Cont.) Root Name Server: –May not know authoritative name server –May know intermediate name server – who to contact to find authoritative name server

17

18 DNS Queries Recursive query: –Puts burden of name resolution on contacted name server –Heavy load? Iterated query: –Contacted server replies with name of server to contact –“I don’t know this name, but ask this server”

19

20 DNS: Cashing & Updating Records Once (any) name server learns mapping, it caches mapping. –Cache entries timeout (disappear) after some time. Update/notify mechanisms under design by IETF. –RFC 2136 –

21 DNS Records Distributed db storing resource records (RR) Type=A –Name is hostname –Value is IP address Type=NS –Name is domain (e.g., foo.com) –Value is IP address of authoritative name server for this domain Type=CNAME –Name is alias name for some “cannonical” (the real) name (e.g., ww.ibm.com is real & servereasr.backup2.ibm.com is cannonical) –Value is cannonical name Type=MX –Value is name of mailserver associated with name