1 Chapter 31-32 Internet Applications (DNS, E-mail)

Slides:



Advertisements
Similar presentations
Basic Communication on the Internet:
Advertisements

Introduction to Networks
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Distributed Computing. Spring 2002Computer Networks Applications Networking Master-slave: A large, central computer controls small I/O devices Peer-to-peer.
COS 420 DAY 23. Agenda Assignment 4 Corrected 2 B’s Assignment 5 posted Chap Due May 4 Final exam will be take home and handed out May 4 and Due.
Layer 7- Application Layer
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Domain Name System (DNS) largely based on slides from D. Comer.
Chapter 29 Structure of Computer Names Domain Names Within an Organization The DNS Client-Server Model The DNS Server Hierarchy Resolving a Name Optimization.
CS335 Networking & Network Administration Wednesday, May 26, 2010.
Electronic Mail. Functionality First software allowed a user to send some text to another user connected to Internet; Current systems allow.
CPSC 441: FTP & SMTP1 Application Layer: FTP & Instructor: Carey Williamson Office: ICT Class.
Fundamentals of Electronic Mail From Greenlaw/Hepp, In-line/On-line: Fundamentals of the Internet and the World Wide Web 1 Introduction Advantages.
COS 420 DAY 25. Agenda Assignment 5 posted Chap Due May 4 Final exam will be take home and handed out May 4 and Due May 10 Today we will discuss.
Chapter 30 Electronic Mail Representation & Transfer
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: Application Layer Network Basics.
Electronic Mail (SMTP, POP, IMAP, MIME)
Cisco Discovery Working at a Small-to-Medium Business or ISP CHAPTER 7 ISP Services Jr.
1 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
1 Chapter Internet Applications (DNS, )
1 Naming with the Domain Name System. 2 Internet Applications Domain Name System Electronic mail IP telephony Remote login File transfer All use client-server.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
1 Computer Communication & Networks Lecture 27 Application Layer: Electronic mail and FTP Waleed.
Lecturer: Maxim Podlesny Sep CSE 473 File Transfer and Electronic in Internet.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Internet Applications  DNS   TELNET  FTP  Web browsing.
Electronic Mail Originally –Memo sent from one user to another Now –Memo sent to one or more mailboxes Mailbox –Destination point for messages.
A form of communication in which electronic messages are created and transferred between two or more devices connected to a network.
1 Applications Electronic Mail. 2 Electronic Mail Many user applications use client-server architecture. Electronic mail client accepts mail.
Network and the internet Part four Introduction to computer, 2nd semester, 2009/2010 Mr.Nael Aburas Faculty of Information.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 3.1 Internet Applications Ch. 31,32,34 (DNS, , TELNET, FTP)
Sistem Jaringan dan Komunikasi Data #9. DNS The Internet Directory Service  the Domain Name Service (DNS) provides mapping between host name & IP address.
Simple Mail Transfer Protocol (SMTP)
Web Technology. History of the Internet Internet was developed by ARPANet in ARPANet (American Research Project Agency Network)
1 Applications Computer Networks. 2 Where are we?
The Internet 8th Edition Tutorial 2 Basic Communication on the Internet: .
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
File Transfer Protocol (FTP)
FALL 2003CSI 4118 – UNIVERSITY OF OTTAWA1 Part 3.1 Internet Applications Ch. 28,… (Client-Server Concept, Use of Protocol Ports, Socket API, DNS, ,
The Internet The internet is simply a worldwide computer network that uses standardised communication protocols to transmit and exchange data.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
CS 3830 Day 9 Introduction 1-1. Announcements r Quiz #2 this Friday r Demo prog1 and prog2 together starting this Wednesday 2: Application Layer 2.
TCP/IP (Transmission Control Protocol / Internet Protocol)
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 2 1 Evaluating an Program and a Web-Based Service Basic Communication.
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
Chapter 20 - Electronic Mail Introduction Description Of Functionality –send a single message to many recipients. –send a message that includes text, voice,
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
4343 X2 – Outline The Domain Name System The Web.
Slides based on Carey Williamson’s: FTP & SMTP1 File Transfer Protocol (FTP) r FTP client contacts FTP server at port 21, specifying TCP as transport protocol.
Web Server Administration Chapter 4 Name Resolution.
COMP 431 Internet Services & Protocols
1 Kyung Hee University Chapter 22 Simple Mail Transfer Protocol (SMTP)
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
1 Chapter 10: Application Layer Reference: Chapter 7 - “Computer Networks”, Andrew S. Tanenbaum, 4th Edition, Prentice Hall, 2003.
درس مهندسی اینترنت – مهدی عمادی مهندسی اینترنت برنامه‌نویسی در اینترنت 1 SMTP, FTP.
© MMII JW RyderCS 428 Computer Networks1 Electronic Mail  822, SMTP, MIME, POP  Most widely used application service  Sometimes only way a person ever.
CS 372 COMPUTER COMMUNICATION AND NETWORKS
Networking Applications
Internet Business Associate v2.0
Instructor Materials Chapter 5 Providing Network Services
Domain Name System (DNS)
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 9
Chapter 10: Application Layer
Net 323 D: Networks Protocols
Web Development & Design Chapter 1, Sections 4, 5 & 6
Application layer Lecture 7.
William Stallings Data and Computer Communications
Traditional Internet Applications – / DNS
Chapter 7 Network Applications
Presentation transcript:

1 Chapter Internet Applications (DNS, )

2 Internet Applications  Domain Name System  Electronic mail  Remote login  File transfer  World Wide Web  All use client-server model

3 Names  Internet communication requires IP addresses  Humans prefer to use computer names  Automated system available to translate names to addresses  Known as Domain Name System (DNS)

4 DNS Functionality  Given  Name of a computer  Returns  Computer’s internet address  Method  Distributed lookup  Client contacts server(s) as necessary

5 Domain Name Syntax  Alphanumeric segments separated by dots  Examples  Most significant part on right

6 Obtaining a Domain Name  Organization  Chooses a desired name  Must be unique  Registers with central authority  Placed under one top-level domain  Names subject to international law for  Trademarks  Copyright

7 Some Top-Level Domains  Meaning assigned to each

8 Within Organization  Subdivision possible  Arbitrary levels possible  Not standardized  Controlled locally by organization

9 Example Name Structure  First level is.com  Second level is company name  Third level is division within company  Fourth level either  Company subdivision  Individual computer

10 An Example  Assume  Company is Foobar  Has two divisions  Soap division  Candy division  Candy division has subdivisions  Soap Division has no subdivisions

11 An Example (continued)  Names in soap division have form  Names in candy division have form computer.soap.foobar.com computer.subdivision.candy.foobar.com

12 Illustration of Foobar Naming Hierarchy

13 The Point About Names The number of segments in a domain name corresponds to the naming hierarchy. There is no universal standard; each organization can choose how to structure names in its hierarchy. Furthermore, names within an organization do not need to follow a uniform pattern; individual groups within the organization can choose a hierarchical structure that is appropriate for the group.

14 DNS Client-Server Interaction  Client known as resolver  Multiple DNS servers used  Arranged in hierarchy  Each server corresponds to contiguous part of naming hierarchy

15 Two Possible DNS Hierarchies  Choice made by organization

16 Inter-Server Links All domain name servers are linked together to form a unified system. Each server knows how to reach a root server and how to reach servers that are authorities for names further down the hierarchy.

17 In Practice  DNS uses backup server(s)  ISPs and others  Offer DNS service to subscribers  Small organizations and individuals  Only need domain names for computers running servers  Contract with an ISP for domain service

18 DNS Lookup  Application  Becomes DNS client  Sends request to local DNS server  Local server  If answer known, returns response  If answer unknown  Starts at top-level server  Follows links  Returns response  Called name resolution

19 Interative DNS Lookup

Root name servers  The root domain contains all top-level domains of the Internet.  As of June 2009, there are 20 generic top-level domains (gTLDs) and 248 country code top- level domains (ccTLDs) in the root domain. 20

Root name servers (cont.)  There are currently 13 root name servers specified, with names in the form letter.root-servers.net, where letter ranges from A to M.  This does not mean there are 13 physical servers; each operator uses redundant computer equipment to provide reliable service even if failure of hardware or software occur.  Additionally, nine of the servers operate in multiple geographical locations using anycast, providing increased performance and even more fault tolerance. 21

Root name servers (cont.) 22

23 Caching in DNS  Server always caches answers  Host can cache answers  Caching  Improves efficiency  Eliminates unnecessary search  Works well because high locality of reference

24 DNS Types  Each entry in server consists of  Domain name  DNS type for name  Value to which name corresponds  During lookup, client must supply  Name  Type  Server  Matches both name and type

25 The Point About Types The domain name system stores a type with each entry. When a resolver looks up a name, the resolver must specify the type that is desired; a DNS server returns only entries that match the specified type.

26 Example DNS Types  Type A (Address)  Value is IP address for named computer  Type MX (Mail eXchanger)  Value is IP address of computer with mail server for name  Type CNAME (Computer NAME)  Value is another domain name  Used to establish alias (www)

27 Domain Name Abbreviation  DNS lookup uses full names  Users desire abbreviations  Technique  Configure resolver with list of suffixes  Try suffixes one at a time

28 Example of DNS Abbreviations  Suffixes are  foobar.com  candy.foobar.com  User enters name walnut  Resolver tries  walnut  walnut.foobar.com  walnut.candy.foobar.com

29 Other Internet Applications  Invoked directly by user   Remote login  File transfer  Web browsing

30 Electronic Mail  Originally  Memo sent from one user to another  Now  Memo sent to one or more mailboxes  Mailbox  Destination point for messages  Can be storage or program  Given unique address

31 Address  Text string  Specifies mail destination  General form  computer  Domain name of computer  Actually type MX  mailbox  Destination on the computer

32 Use of Address Each electronic mailbox has a unique address, which is divided into two parts: the first identifies a user’s mailbox, and the second identifies a computer on which the mailbox resides. software on the sender’s computer uses the second part to select a destination; software on the recipient’s computer uses the first part to select a particular mailbox.

33 Mail Message Format  Header  Identifies sender, recipient(s), memo contents  Lines of form keyword:information  Blank line  Body  Contains text of message

34 Example Header Fields  Most header lines optional

35 Extending  Original  SMTP - message restricted to ASCII text  Users desire to send  Image files  Audio clips  Compiled (binary) programs  Solution  Multi-purpose Internet Mail Extensions (MIME)

36 MIME  Allows transmission of  Binary data  Multimedia files (video/audio clips)  Multiple types in single message  Mixed formats  Backward compatible

37 MIME Encoding  Sender  Inserts additional header lines  Encodes binary data in (printable) ASCII  Sent like standard message  Receiver  Interprets header lines  Extracts and decodes parts  Separate standards for content and encoding

38 Example of MIME  Header lines added MIME-Version: 1.0 Content-Type: Multipart/Mixed; Boundary=Mime_sep  Specifies  Using MIME version 1.0  Line Mime_sep appears before each message part

39 MIME Although Internet only transfers text, MIME can be used to transport binary data by encoding it in printed characters. A MIME mail message includes additional information that a receiving application uses to decode the message.

40 Mail Transfer  Protocol is Simple Mail Transfer Protocol (SMTP)  Runs over TCP  Used between  Mail transfer program on sender’s computer  Mail server on recipient’s computer  Specifies how  Client interacts with server  Recipients specified  Message is transferred

41 Illustration of Mail Transfer  Server  Required to receive mail  Places message in user’s mailbox

42 Terminology  Mail exploder  Program  Accepts incoming message  Delivers to multiple recipients  Mailing list  Database  Used by exploder  Mail gateway  Connects two mail systems

43 Illustration of a Mailing List  Separate permissions for  Mailing to list  Adding/deleting members  Public – anyone can join  Private – access restricted by owner

44 Illustration of a Mail Gateway  Can connect two  Heterogeneous systems  Internet to non-Internet

45 Automated Mailing Lists  Automated program to handle routine chores of maintaining mailing list: list manager  Used in conjunction with exploder  Example expected command: add mailbox to list

46 Computers Without Mail Servers  Typically  Small, personal computer or mobile device  Not continuously connected to Internet  To receive , user must  Establish mailbox on large computer  Access mailbox as necessary  Post Office Protocol (POP) or IMAP used

47 POP  Current version named POP3

48 IMAP  Internet Message Access Protocol (IMAP4 rev1 1996)  A more recent protocol for accessing messages  Leaves mail on server  Built in security features

49 Summary  Domain Name System  Maps name to IP address  Uses on-line servers  Uses caching for efficiency  Three transfer protocols  SMTP  POP3 IMAP