CS3600 SYSTEMS AND NETWORKS



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

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

DNS Domain Name System

Domain Name System Security

The Domain Name System

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

Domain Name System (DNS)

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

NET0183 Networks and Communications

Domain Name System (DNS) Fundamentals

DNS Basics. DNS Basics

The Domain Name System (DNS)

Domain Name System Richard T. B. Ma

Domain Name System DNS

The Domain Name System (DNS)

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

CS640: Computer Networks. Naming /ETC/HOSTS

Application Protocols in the TCP/IP Reference Model

Domain Name Service (DNS) Training Division, NIC New Delhi

CS3250 Distributed Systems

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

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

DNS Domain Name System

Chapter 23 The Domain Name System (DNS)

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

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

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

- Domain Name System -

Domain Name System (DNS) Session-1: Fundamentals. Ayitey Bulley

ECE 4321 Computer Networks. Network Programming

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

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

The Application Layer: DNS

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

DNS : Domain Name System

Application-layer protocols

3. The Domain Name Service

INTERNET DOMAIN NAME SYSTEM

Understanding DNS (the Domain Name System)

Internet-Praktikum I Lab 3: DNS

Hostnames. HOSTS.TXT was a bottleneck. Once there was HOSTS.TXT. CSCE515 Computer Network Programming. Hierarchical Organization of DNS

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

CMPE 80N: Introduction to Networking and the Internet

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

Introduction to Network Operating Systems

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

Vorlesung Kommunikationsnetze Domain Name System

DNS: Domain Name System

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

Domain Name System (DNS)

Domain Name System. 188lecture12.ppt. Pirkko Kuusela, Markus Peuhkuri, Jouni Karvo

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

Development of the Domain Name System. Joey Brown David Margolies

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

Chapter 2 Application Layer

Domain Name System (DNS)

Understand Names Resolution

Network Layers. CSC358 - Introduction to Computer Networks

Chapter 9: Name Services. 9.1 Introduction 9.2 Name services and the DNS 9.3 Directory services 9.6 Summary

Introduction to the Domain Name System

DNS. Spring 2016 CS 438 Staff 1

CMPE 80N: Introduction to Networking and the Internet

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

Domain Name Server. Training Division National Informatics Centre New Delhi

Lecture Computer Networks

Naming. Name Service. Why Name Services? Mappings. and related concepts

Domain Name System. Heng Sovannarith

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

DNS: Domain Name System

DNS. Computer networks - Administration 1DV202. fredag 30 mars 12

Domain Name System (DNS) RFC 1034 RFC

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

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

ICS 351: Today's plan. DNS WiFi

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

Outline. Definition. Name spaces Name resolution Example: The Domain Name System Example: X.500, LDAP. Names, Identifiers and Addresses

The Domain Name System

416 Distributed Systems. Feb 24, 2016 DNS and CDNs

Computer Networks & Security 2014/2015

An Introduction to the Domain Name System

Copyright

IP addresses have hierarchy (network & subnet) Internet names (FQDNs) also have hierarchy. and of course there can be sub-sub-!!

DATA COMMUNICATOIN NETWORKING

Domain Name System WWW. Application Layer. Mahalingam Ramkumar Mississippi State University, MS. September 15, 2014.

Lesson 13: DNS Security. Javier Osuna GMV Head of Security and Process Consulting Division

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

The Domain Name System

How to set up the Integrated DNS Server for Inbound Load Balancing

THE DOMAIN NAME SYSTEM DNS

DNS and BIND. David White

Introduction to DNS CHAPTER 5. In This Chapter

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

Computer Networks: Domain Name System

DNS. Computer Networks. Seminar 12

DNS Protocol and Attacks

The Application Layer. CS158a Chris Pollett May 9, 2007.

Configuring DNS. Finding Feature Information

Computer Networks: DNS a2acks CS 1951e - Computer Systems Security: Principles and Prac>ce. Domain Name System

OpenSRS Service DNS Configuration Guide

Fig 1A portion of the Internet domain name space.

Transcription:

CS3600 SYSTEMS AND NETWORKS FALL 2011 Lecture 19: DNS Prof. Alan Mislove (amislove@ccs.neu.edu) Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang Human Involvement Just like your friend needs to tell you his phone number for you to call him Somehow, an application needs to know the IP address of the communication peer There is no magic, some out-of-band mechanism is needed Word of mouth Read it in the advertisement in the paper Etc. But IP addresses are bad for humans to remember and tell each other So need names that makes some sense to humans Alan Mislove amislove at ccs.neu.edu Northeastern University2 Internet Names & Addresses Names: e.g. www.northeastern.edu human-usable labels for machines conforms to organizational structure Addresses: e.g. 155.33.17.68 computer-usable labels for machines conforms to network structure How do you map from one to another? Domain Name System (DNS) Alan Mislove amislove at ccs.neu.edu Northeastern University3

DNS: History Initially all host-addess mappings were in a file called hosts.txt (in /etc/hosts) Changes were submitted to SRI by email New versions of hosts.txt ftp d periodically from SRI An administrator could pick names at their discretion Any name is allowed: alansdesktopatccsbuilding As the Internet grew this system broke down because: SRI couldn t handled the load Hard to enforce uniqueness of names Many hosts had inaccurate copies of hosts.txt Domain Name System (DNS) was born Alan Mislove amislove at ccs.neu.edu Northeastern University4 Basic DNS Features Hierarchical namespace as opposed to original flat namespace Distributed storage architecture as opposed to centralized storage (plus replication) Client--server interaction on UDP Port 53 but can use TCP if desired Alan Mislove amislove at ccs.neu.edu Northeastern University5 Naming Hierarchy root edu com gov mil org net uk fr etc. neu ccs ece joshua mit husky Top Level Domains are at the top Depth of tree is arbitrary (limit 128) Domains are subtrees E.g:.edu, neu.edu, ccs.neu.edu Name collisions avoided E.g. neu.edu and neu.com can coexist, but uniqueness is job of domain Alan Mislove amislove at ccs.neu.edu Northeastern University6

Host names are administered hierarchically root edu com gov mil org net uk fr etc. neu ccs ece joshua husky mit A zone corresponds to an administrative authority that is responsible for that portion of the hierarchy E.g. Alan controls names: x.ccs.neu.edu and y.ece.neu.edu E.g. The President controls names: x.neu.edu and y.husky.neu.edu Alan Mislove amislove at ccs.neu.edu Northeastern University7 Server Hierarchy Each server has authority over a portion of the hierarchy A server maintains only a subset of all names Each server contains all the records for the hosts or domains in its zone might be replicated for robustness Every server knows the root Root server knows about all top-level domains Alan Mislove amislove at ccs.neu.edu Northeastern University8 DNS Name Servers Local name servers: Each ISP (company) has local default name server Host DNS query first goes to local name server Local DNS server IP address usually learned from DHCP Frequently cache query results Authoritative name servers: For a host: stores that host s (name, IP address) Can perform name/address translation for that host s name Alan Mislove amislove at ccs.neu.edu Northeastern University9

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 ~ Dozen root name servers worldwide Alan Mislove amislove at ccs.neu.edu Northeastern University10 Basic Domain Name Resolution Every host knows a local DNS server Through DHCP, for example Sends all queries to a local DNS server Every local DNS server knows the ROOT servers When no locally cached information exists about the query, talk to a root server, and go down the name hierarchy from the root If we lookup www.neu.edu, and we have a cached entry for the.edu name server, then we can go directly to the.edu name server and bypass the root server Alan Mislove amislove at ccs.neu.edu Northeastern University11 Iterated query: Contacted server replies with name of server to contact I don t know this name, but ask this server This is how today s DNS system behaves Example of Iterated DNS Query local name server dns.ccs.neu.edu 1 8 2 requesting host joshua.ccs.neu.edu 3 4 5 6 root name server iterated query intermediate name server (com server) 7 authoritative name server ns1.google.com www.google.com Alan Mislove amislove at ccs.neu.edu Northeastern University12

DNS Query: Two fields: (name, type) DNS Resource Records Resource record is the response to a query Four fields: (name, value, type, TTL) There can be multiple valid responses to a query Type = A: name = hostname value = IP address Alan Mislove amislove at ccs.neu.edu Northeastern University13 DNS Resource Records (cont d) Type = NS: name = domain value = name of dns server for domain Type = CNAME: name = hostname value = canonical name Type = MX: name = domain in email address value = canonical name of mail server and priority Alan Mislove amislove at ccs.neu.edu Northeastern University14