CMPE 80N: Introduction to Networking and the Internet



Similar documents
CMPE 80N: Introduction to Networking and the Internet

DNS: Domain Name System

Domain Name System (or Service) (DNS) Computer Networks Term B10

Domain Name System Richard T. B. Ma

CS 355. Computer Networking. Wei Lu, Ph.D., P.Eng.

How To Map Between Ip Address And Name On A Domain Name System (Dns)

The Application Layer: DNS

Chapter 2 Application Layer

DNS and P2P File Sharing

DNS: Distributed Name System

Names vs. Addresses. Flat vs. Hierarchical Space. Domain Name System (DNS) Computer Networks. Lecture 5: Domain Name System

Domain Name System (DNS)

Domain Name System DNS

FTP: the file transfer protocol

internet technologies and standards

CS 43: Computer Networks Naming and DNS. Kevin Webb Swarthmore College September 17, 2015

Naming and the DNS. Focus. How do we name hosts etc.? Application Presentation Topics. Session Domain Name System (DNS) /URLs

Distributed Systems. Naming

DNS: Domain Name System

Cours du 22 novembre

DNS. Spring 2016 CS 438 Staff 1

DATA COMMUNICATOIN NETWORKING

NET0183 Networks and Communications

Domain Name System (DNS) RFC 1034 RFC

Domain Name System (DNS) Reading: Section in Chapter 9

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting, NTP

Domain Name System (DNS)

DNS and electronic mail. DNS purposes

Network programming, DNS, and NAT. Copyright University of Illinois CS 241 Staff 1

CS 348: Computer Networks. - DNS; 22 nd Oct Instructor: Sridhar Iyer IIT Bombay

C 1. Last Time. CSE 486/586 Distributed Systems Domain Name System. Review: Causal Ordering. Review: Causally Ordered Multicast.

2.5 DNS The Internet s Directory Service

Application Layer. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

Goals of Today s Lecture. Separating Naming and Addressing. Host Names vs. IP addresses. Domain Name System (DNS) EE 122: Domain Name System

Computer Networks & Security 2014/2015

Lecture 2 CS An example of a middleware service: DNS Domain Name System

FTP: the file transfer protocol

Internet-Praktikum I Lab 3: DNS

Digital Communication in the Modern World Application Layer cont. DNS, SMTP

CSE/ISE 311: Systems Administra5on Networking 2

Network Layer 4- density - A Top Down Approach

HW2 Grade. CS585: Applications. Traditional Applications SMTP SMTP HTTP 11/10/2009

Computer Networks. Instructor: Niklas Carlsson

Application layer Protocols application transport

The Domain Name System

Application-layer protocols

Chapter 2: outline. 2.6 P2P applications 2.7 socket programming with UDP and TCP

Network(Security(Protocols(

DNS: Domain Names. DNS: Domain Name System. DNS: Root name servers. DNS name servers

Communicating Applications

3. The Domain Name Service

Chapter 23 The Domain Name System (DNS)

Names & Addresses. Names & Addresses. Names vs. Addresses. Identity. Names vs. Addresses. CS 194: Distributed Systems: Naming

Announcements! DNS: Domain Name System! Goals of Todayʼs Lecture! Transmission Control Protocol (TCP)! Reliable Delivery! Reliable Delivery, conʼt!

Computer Names. based on chapter 10 of CompTIA Network+ Exam Guide, 4th edition, by Mike Meyers OVERVIEW

DNS: Domain Name System

Resilient Networking. Overview of DNS Known attacks on DNS Denial-of-Service Cache Poisoning. Securing DNS Split-Split-DNS DNSSEC.

Lecture 5: Network Attacks I. Course Admin

CS244A Review Session Routing and DNS

CS640: Computer Networks. Naming /ETC/HOSTS

Types of hypertext. Hypertext documents can either be 1.Static 2.Dynamic

The Domain Name System (DNS)

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

CS3600 SYSTEMS AND NETWORKS

DNS records. RR format: (name, value, type, TTL) Type=NS

The Domain Name System

The Domain Name System

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace

DNS Domain Name System

416 Distributed Systems. Feb 24, 2016 DNS and CDNs

Networking Overview. (as usual, thanks to Dave Wagner and Vern Paxson)

Domain Name System (DNS) Omer F. Rana. Networks and Data Communications 1

REVIEW AND ANALYSIS OF INTERNET TRAFFIC AND ITS IMPLICATIONS ON THE ROOT NAME SERVER ARCHITECTURE

Introduction to Network Operating Systems

Part 5 DNS Security. SAST01 An Introduction to Information Security Martin Hell Department of Electrical and Information Technology

Network Layers. CSC358 - Introduction to Computer Networks

DNS Domain Name System

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015

INTERNET DOMAIN NAME SYSTEM

The Domain Name System (DNS)

DNS Basics. DNS Basics

Network Security - Aecessary Job Description

Domain Name Servers. Domain Types WWW host names. Internet Names. COMP476 Networked Computer Systems. Domain Name Servers

Distributed Systems. 22. Naming Paul Krzyzanowski. Rutgers University. Fall 2013

Network Layer, Part 1 Internet Architecture. History

Domain Name System. DNS is an example of a large scale client-server application. Copyright 2014 Jim Martin

Domain Name System. CS 571 Fall , Kenneth L. Calvert University of Kentucky, USA All rights reserved

Computer Networks: Domain Name System

Making Internet Services Highly Available. Joe Abley

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

- Domain Name System -

Chapter 25 Domain Name System Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

CS3250 Distributed Systems

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt

Computer Networks Prof. S. Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 34 DNS & Directory

Application Protocols in the TCP/IP Reference Model

1 Introduction: Network Applications

!"#$%&'µ#%($)"*!"#+",%-./ Overview of Internet Protocols !"#+",%/#,1 $%.02# 3&'%.,455'6 OSI,#"!"#+0,%/. !"#$"%&'#%( )*+&,%-..

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. .

Transcription:

CMPE 80N: Introduction to Networking and the Internet Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 11 CMPE 80N Spring'10 1

Announcements Guest lecture on intellectual property and the Internet on 05.11. No office hours today. CMPE 80N Spring'10 2

Last class The Web and HTTP. CMPE 80N Spring'10 3

Today DNS. CMPE 80N Spring'10 4

DNS: Domain Name System CMPE 80N Spring'10 5

DNS: Domain Name System People: many identifiers: SSN, name, passport # Internet hosts, routers: IP address (32 bit) - used for addressing. name, e.g., ww.yahoo.com - used by humans. Q: map between IP addresses and name? Domain Name System: distributed database implemented in hierarchy of many name servers. CMPE 80N Spring'10 6

DNS services hostname to IP address translation. DNS Why not centralize DNS? single point of failure traffic volume maintenance doesn t scale! CMPE 80N Spring'10 7

Distributed, Hierarchical Database Root DNS Servers com DNS servers org DNS servers edu DNS servers yahoo.com DNS servers amazon.com DNS servers pbs.org DNS servers poly.edu umass.edu DNS servers DNS servers Client wants IP for www.amazon.com; 1 st approx: client queries a root server to find com DNS server client queries com DNS server to get amazon.com DNS server client queries amazon.com DNS server to get IP address for www.amazon.com CMPE 80N Spring'10 8

DNS: Root name servers contacted by local name server that can not resolve name root name server: contacts authoritative name server if name mapping not known gets mapping returns mapping to local name server CMPE 80N Spring'10 9

DNS: Root name servers e NASA Mt View, CA f Internet Software C. Palo Alto, CA (and 36 other locations) a Verisign, Dulles, VA c Cogent, Herndon, VA (also LA) d U Maryland College Park, MD g US DoD Vienna, VA h ARL Aberdeen, MD j Verisign, ( 21 locations) k RIPE London (also 16 other locations) i Autonomica, Stockholm (plus 28 other locations) m WIDE Tokyo (also Seoul, Paris, SF) b USC-ISI Marina del Rey, CA l ICANN Los Angeles, CA 13 root name servers worldwide (labeled a-m). CMPE 80N Spring'10 10

TLD and Authoritative Servers Top-level domain (TLD) servers: responsible for com, org, net, edu, etc, and all top-level country domains uk, fr, ca, jp. Network Solutions maintains servers for com TLD Educause for edu TLD Authoritative DNS servers: organization s DNS servers, providing authoritative hostname to IP mappings for organization s servers (e.g., Web, mail). can be maintained by organization or service provider CMPE 80N Spring'10 11

Local Name Server does not strictly belong to hierarchy each ISP (residential ISP, company, university) has one. also called default name server when host makes DNS query, query is sent to its local DNS server acts as proxy, forwards query into hierarchy CMPE 80N Spring'10 12 2: Application Layer 12

DNS name root DNS server resolution example Host at cis.poly.edu wants IP address for gaia.cs.umass.edu iterated query: contacted server replies with name of server to contact I don t know this name, but ask this server local DNS server dns.poly.edu 1 2 8 requesting host cis.poly.edu 3 4 5 7 TLD DNS server 6 authoritative DNS server dns.cs.umass.edu gaia.cs.umass.edu CMPE 80N Spring'10 13

DNS name resolution example root DNS server recursive query: puts burden of name resolution on contacted name server heavy load? 2 local DNS server dns.poly.edu 7 6 5 3 4 TLD DNS server 1 8 requesting host cis.poly.edu authoritative DNS server dns.cs.umass.edu gaia.cs.umass.edu CMPE 80N Spring'10 14

DNS: caching and updating records Once (any) name server learns mapping, it caches mapping cache entries timeout (disappear) after some time TLD servers typically cached in local name servers Thus root name servers not often visited CMPE 80N Spring'10 15

DNS records DNS: distributed db storing resource records (RR) Type=A RR format: (name, value, type, ttl) name is hostname value is IP address Type=NS name is domain (e.g. foo.com) value is hostname of authoritative name server for this domain Type=CNAME name is alias name for some canonical (the real) name www.ibm.com is really servereast.backup2.ibm.com value is canonical name Type=MX value is name of mailserver associated with name CMPE 80N Spring'10 16

DNS protocol, messages DNS protocol : query and reply messages, both with same message format msg header identification: 16 bit # for query, reply to query uses same # flags: query or reply recursion desired recursion available reply is authoritative CMPE 80N Spring'10 17