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

Similar documents
Miscellaneous. Name Service. Examples (cont) Examples. Name Servers Partition hierarchy into zones. Domain Naming System

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

UCI University of California, Irvine

Overview General network terminology. Chapter 9.1: DNS

The Internet. Overview. Network building blocks

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16

Lecture 25. Tuesday, November 21 CS 475 Networks - Lecture 25 1

Application Layer Protocols

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

Computer Networking: Applications George Blankenship. Applications George Blankenship 1

CIS 551 / TCOM 401 Computer and Network Security

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

Applications. Chong-kwon Kim. Running in end systems (hosts) over transport layer protocols Ex: , Web, FTP, instant messaging

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

Chapter 2: Application layer

Reference Textbooks: " # " H7 R3 H8. Network 4 (point-to-point) Network 1 (Ethernet) H4 Network 3 (FDDI) n H1 TCP TCP ETH ETH

Application Layer: , DNS

ECE 650 Systems Programming & Engineering. Spring 2018

IP ADDRESSES, NAMING, AND DNS

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

Networking Applications

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

Outline. EEC-484/584 Computer Networks. Slow Start Algorithm. Internet Congestion Control Algorithm

Chapter 2 part B: outline

Applications real time/non-real time

Computer Network 1 1

CSCD 330 Network Programming Winter 2015

Protocol Classification

Applications & Application-Layer Protocols: FTP and (SMTP & POP)

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

Computer Networking Introduction

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

Protocols. Networking CS 3470, Section 1 Sarah Diesburg

2. Introduction to Internet Applications

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

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

FTP. Mail. File Transfer Protocol (FTP) FTP commands, responses. Electronic Mail. TDTS06: Computer Networks

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

CS 3640: Introduction to Networks and Their Applications

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

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

Information Network Systems The application layer. Stephan Sigg

CSCD 330 Network Programming Spring 2018 Lecture 5 Application Layer. Reading: Chapter 2 Still

CS155b: E-Commerce. Lecture 3: Jan 16, How Does the Internet Work? Acknowledgements: S. Bradner and R. Wang

Session 2. Background. Lecture Objectives

Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer

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

Fig (1) sending and receiving s

A DNS Tutorial

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

DNS Basics BUPT/QMUL

The Application Layer: & SMTP

Computer and Network Security

CSCD 330 Network Programming Spring 2017

More Internet Support Protocols

CS 418 Web Programming Spring 2013 SENDING SCOTT G. AINSWORTH.

CSC 4900 Computer Networks:

Text-Based Protocols. Many common protocols based on sending text messages. Built atop the TCP stream protocol. Lines terminated with \r\n.

Communications Software. CSE 123b. CSE 123b. Spring Lecture 11: Domain Name System (DNS) Stefan Savage. Some pictures courtesy David Wetherall

CSE 123b Communications Software. Overview for today. Names and Addresses. Goals for a naming system. Internet Hostnames

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

Manual Configuration Stateful Address Configuration (i.e. from servers) Stateless Autoconfiguration : IPv6

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Layered Model. DoD Model. ISO/OSI Model

CSE 565 Computer Security Fall 2018

Simple Network Management Protocol (SNMP)

08 Application protocols

SMTP. George Porter CSE 124 February 12, 2015

Review for Internet Introduction

Networking Fundamentals: IP, DNS, URL, MIME

Local Area Networks; Ethernet

Internet Architecture. Web Programming - 2 (Ref: Chapter 2) IP Software. IP Addressing. TCP/IP Basics. Client Server Basics. URL and MIME Types HTTP

DNS & Iodine. Christian Grothoff.

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

The Application Layer: SMTP, FTP

Internet and Intranet Protocols and Applications

CSEN 404 Introduction to Networks. Mervat AbuElkheir Mohamed Abdelrazik. ** Slides are attributed to J. F. Kurose

CS 455/555 Spring 2011 Weigle

CS 3640: Introduction to Networks and Their Applications

[Prof. Rupesh G Vaishnav] Page 1

Domain Name System.

Computer Networks. Wenzhong Li. Nanjing University

Network concepts introduction & wireshark

Business Data Communications and Networking

Chapter 2. Application Layer

CCNA Exploration1 Chapter 3: Application Layer Functionality and Protocols

The Application Layer: Sockets, DNS

CS 43: Computer Networks. 10: Naming and DNS September 24, 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018

Application Layer Chapter 2

Ethernet / TCP-IP - Training Suite Application level protocols

Networking. Layered Model. DoD Model. Application Layer. ISO/OSI Model

Higher layer protocols

CSE 124: IP ADDRESSES, NAMING, AND DNS. George Porter Oct 4, 2017

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

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

PLEASE READ CAREFULLY BEFORE YOU START

CHAPTER 22 DISTRIBUTED APPLICATIONS ANSWERS TO QUESTIONS ANSWERS TO PROBLEMS

Domain Name System (DNS)

Transcription:

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 mechanism Name DNS: domain system Spring 2009 CS30264 2 Examples Hosts cheltenham.cs.princeton.edu 192.12.69.17 192.12.69.17 80:23:A8:33:5B:9F Files /usr/llp/tmp/foo fileid Spring 2009 CS30264 3 1

Examples (cont) boxes Name User 2 1 cs.princeton.edu user @ cs.princeton.ed program 192.12.69.5 3 TCP 192.12.69.5 4 192.12.69.5 5 IP Spring 2009 CS30264 4 Hierarchy Domain Naming System edu com gov mil org net uk fr princeton mit cisco yahoo nasa nsf arpa navy acm ieee cs ee physics ux01 ux04 Name wizard.cse.nd.edu Spring 2009 CS30264 5 Name Servers Partition hierarchy into zones edu com gov mil org net uk fr princeton mit cisco yahoo nasa nsf arpa navy acm ieee cs ee physics ux01 ux04 Each zone implemented by two or more s Root Princeton Cisco CS EE Spring 2009 CS30264 6 2

Resource Records Each maintains a collection of resource records (Name, Value, Type, Class, TTL) Name/Value: not necessarily host s to IP addresses Type A: IP addresses NS: value gives domain for host running that knows how to resolve s within specified domain. CNAME: value gives canonical for a host; used to define aliases. MX: value gives domain for host running mail that accepts messages for specified domain. Class: allows other entities to define types TTL: how long the resource record is valid Spring 2009 CS30264 7 Root Server (princeton.edu, cit.princeton.edu, NS, IN) (cit.princeton.edu, 128.196.128.233, A, IN) (cisco.com, thumper.cisco.com, NS, IN) (thumper.cisco.com, 128.96.32.20, A, IN) Spring 2009 CS30264 8 Princeton Server (cs.princeton.edu, optima.cs.princeton.edu, NS, IN) (optima.cs.princeton.edu, 192.12.69.5, A, IN) (ee.princeton.edu, helios.ee.princeton.edu, NS, IN) (helios.ee.princeton.edu, 128.196.28.166, A, IN) (jupiter.physics.princeton.edu, 128.196.4.1, A, IN) (saturn.physics.princeton.edu, 128.196.4.2, A, IN) (mars.physics.princeton.edu, 128.196.4.3, A, IN) (venus.physics.princeton.edu, 128.196.4.4, A, IN) Spring 2009 CS30264 9 3

CS Server (cs.princeton.edu, optima.cs.princeton.edu, MX, IN) (cheltenham.cs.princeton.edu, 192.12.69.60, A, IN) (che.cs.princeton.edu, cheltenham.cs.princeton.edu, CNAME, IN) (optima.cs.princeton.edu, 192.12.69.5, A, IN) (opt.cs.princeton.edu, optima.cs.princeton.edu, CNAME, IN) (baskerville.cs.princeton.edu, 192.12.69.35, A, IN) (bas.cs.princeton.edu, baskerville.cs.princeton.edu, CNAME, IN) Spring 2009 CS30264 10 Name Resolution Strategy Client 1 192.12.69.60 8 Local Root 3 4 Princeton cs.princeton.edu, 192.12.69.5 5 princeton.edu, 128.196.128.233 Local need to know root at only one place (not each host) site-wide cache 2, 192.12.69.60 7 6 CS Spring 2009 CS30264 11 Electronic RFC 822: header and body MIME: Multi-purpose Internet Extensions MIME-Version: 1.0 Content-Type: multipart/mixed; boundary= -------417CA6E2DE4ABCAFBC5 From: Alice Smith Alice@cisco.com To: Bob@cse.nd.edu Subject: look at the attached image! Date: Mon, 07 Sep 1998 19:45:19-0400 -------417CA6E2DE4ABCAFBC5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bob, here s the jpeg image I promised. -- Alice -------417CA6E2DE4ABCAFBC5 Content-Type: image/jpeg Content-Transfer-Encoding: base64 [unreadable encoding of a jpeg figure] Spring 2009 CS30264 12 4

SMTP reader, mail daemon, mail gateway SMTP messages: HELO, MAIL, RCPT, DATA, QUIT; responds with code. reader gateway reader daemon daemon daemon SMTP/TCP SMTP/TCP Spring 2009 CS30264 13 World Wide Web URL: uniform resource locator http://www.cse.nd.edu HTTP: START_LINE <CRLF> MESSAGE_HEADER <CRLF> <CRLF> MESSAGE_BODY <CRLF> Spring 2009 CS30264 14 HTTP Request: GET: fetch specified web page HEAD: fetch status information about specified page GET http://www.cse.nd.edu/index.html HTTP/1.1 Response: HTTP/1.1 202 Accepted HTTP/1.1 404 Not Found HTTP/1.1 301 Moved Permanently Location: http://www.nd.edu/cs/index.html Spring 2009 CS30264 15 5

HTTP HTTP 1.0: separate TCP connection for each request (each data item). HTTP 1.1: persistent connections Caching: client: faster retrieval of web pages : reduced load location: client, sitewide cache, ISP, etc. EXPIRES header field (provided by ) IF-MODIFIED-SINCE header field (issued by cache) Spring 2009 CS30264 16 SNMP Request/reply protocol (on top of UDP) 2 main operations: GET: retrieve state info from hosts SET: set new state on host Relies on Management Information Base (MIB) system: uptime,, interfaces: physical address, packets sent/received, address translation: ARP (contents of table) IP: routing table, number of forwarded datagrams, reassembly statistics, dropped packets, TCP: number of passive and active opens, resets, timeouts, UDP: number of packets sent/received, Spring 2009 CS30264 17 6