DNS: Domain Name System



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

Domain Name System Richard T. B. Ma

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

CMPE 80N: Introduction to Networking and the Internet

Chapter 2 Application Layer

DNS and P2P File Sharing

Domain Name System (DNS)

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

internet technologies and standards

The Application Layer: DNS

DATA COMMUNICATOIN NETWORKING

DNS: Domain Name System

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

Domain Name System (DNS) RFC 1034 RFC

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

Domain Name System DNS

FTP: the file transfer protocol

DNS. Spring 2016 CS 438 Staff 1

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

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

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

DNS and electronic mail. DNS purposes

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

NET0183 Networks and Communications

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

Domain Name System (DNS)

2.5 DNS The Internet s Directory Service

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.

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

Computer Networks & Security 2014/2015

Application-layer protocols

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

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

FTP: the file transfer protocol

CSE/ISE 311: Systems Administra5on Networking 2

Internet-Praktikum I Lab 3: DNS

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

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

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

DNS: Domain Name System

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

The Domain Name System

3. The Domain Name Service

Network(Security(Protocols(

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

Communicating Applications

DNS Domain Name System

The Domain Name System

Chapter 23 The Domain Name System (DNS)

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

Lecture 5: Network Attacks I. Course Admin

CS640: Computer Networks. Naming /ETC/HOSTS

The Domain Name System

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

The Domain Name System (DNS)

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

CS244A Review Session Routing and DNS

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

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

Introduction to Network Operating Systems

Resilient Networking. Thorsten Strufe. Module 5: Name Resolution / DNS

Understanding DNS (the Domain Name System)

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

CS3600 SYSTEMS AND NETWORKS

416 Distributed Systems. Feb 24, 2016 DNS and CDNs

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

The Domain Name System (DNS)

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

Domain Name System (DNS) Fundamentals

- Domain Name System -

DNS Basics. DNS Basics

1 Introduction: Network Applications

Network Layers. CSC358 - Introduction to Computer Networks

Domain Name System Security

DNS : Domain Name System

Computer Networks: Domain Name System

K-Root Name Server Operations

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

DNS & IPv6. Agenda 4/14/2009. MENOG4, 8-9 April Raed Al-Fayez SaudiNIC CITC rfayez@citc.gov.sa, DNS & IPv6.

Application Protocols in the TCP/IP Reference Model

DNS Domain Name System

Overview of Computer Networks

ECE 4321 Computer Networks. Network Programming

The Domain Name System

Transcription:

DNS: Domain Name System People: many identifiers: SSN, name, passport # Internet hosts, routers: IP address (32 bit) - used for addressing datagrams 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 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 2: Application Layer 1

DNS DNS services Hostname to IP address translation Host aliasing Canonical and alias names Mail server aliasing Load distribution Replicated Web servers: set of IP addresses for one canonical name Why not centralize DNS? single point of failure traffic volume distant centralized database maintenance doesn t scale! 2: Application Layer 2

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 serversdns 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 2: Application Layer 3

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 e NASA Mt View, CA f Internet Software C. Palo Alto, CA (and 17 other locations) b USC-ISI Marina del Rey, CA l ICANN Los Angeles, CA a Verisign, Dulles, VA c Cogent, Herndon, VA (also Los Angeles) d U Maryland College Park, MD k RIPE London (also Amsterdam, g US DoD Vienna, VA Frankfurt) h ARL Aberdeen, MD i Autonomica, Stockholm (plus 3 j Verisign, ( 11 locations) other locations) m WIDE Tokyo 13 root name servers worldwide 2: Application Layer 4

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 and mail). Can be maintained by organization or service provider 2: Application Layer 5

Local Name Server Does not strictly belong to hierarchy Each ISP (residential ISP, company, university) has one. Also called default name server When a host makes a DNS query, query is sent to its local DNS server Acts as a proxy, forwards query into hierarchy. 2: Application Layer 6

Example root DNS server Host at cis.poly.edu wants IP address for gaia.cs.umass.edu 2 3 4 5 TLD DNS server local DNS server dns.poly.edu 1 8 7 6 requesting host cis.poly.edu authoritative DNS server dns.cs.umass.edu gaia.cs.umass.edu 2: Application Layer 7

Recursive queries root DNS server 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 local DNS server dns.poly.edu 1 2 8 requesting host cis.poly.edu 7 6 5 3 4 authoritative DNS server dns.cs.umass.edu gaia.cs.umass.edu TLD DNS server 2: Application Layer 8

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 update/notify mechanisms under design by IETF RFC 2136 http://www.ietf.org/html.charters/dnsind-charter.html 2: Application Layer 9

DNS records DNS: distributed db storing resource records (RR) RR format: (name, value, type, ttl) Type=A 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 2: Application Layer 10

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 2: Application Layer 11

DNS protocol, messages Name, type fields for a query RRs in response to query records for authoritative servers additional helpful info that may be used 2: Application Layer 12

Inserting records into DNS Example: just created startup Network Utopia Register name networkuptopia.com at a registrar (e.g., Network Solutions) Need to provide registrar with names and IP addresses of your authoritative name server (primary and secondary) Registrar inserts two RRs into the com TLD server: (networkutopia.com, dns1.networkutopia.com, NS) (dns1.networkutopia.com, 212.212.212.1, A) Put in authoritative server Type A record for www.networkuptopia.com and Type MX record for networkutopia.com How do people get the IP address of your Web site? 2: Application Layer 13