Domain Name System DNS - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

Domain Name System DNS

Description:

IP address (32 bit) - used for addressing datagrams ' ... l ICANN Marina del Rey, CA. e NASA Mt View, CA. f Internet Software C. Palo Alto, CA ... – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 12
Provided by: cuneyta
Category:
Tags: dns | domain | icann | name | system

less

Transcript and Presenter's Notes

Title: Domain Name System DNS


1
Domain Name System (DNS)
2
DNS Domain Name System
  • Internet hosts, routers
  • IP address (32 bit) - used for addressing
    datagrams
  • name, e.g., gaia.cs.umass.edu - used by humans
  • Problem Map between IP addresses and name?
  • Need A directory service that will translate
    between IP addresses and hostnames.

3
DNS Design Alternatives
  • Coordinating set of distributed servers
  • Idea no server has all name-to-IP address
    mappings
  • System Components
  • local name servers
  • each ISP, company has local (default) name server
  • host DNS query first goes to local name server
  • authoritative name server
  • for a host stores that hosts IP address, name
  • can perform name/address translation for that
    hosts name
  • root name servers
  • contacted by local name server that can not
    resolve name
  • knows the address of the authoritative name
    server for a particular domain
  • DNS Protocol TCP/UDP port 53
  • Centralized Server
  • Idea Have a central server keep track of
    IPlt-gtname mapping for all hosts in the Internet
  • Problems
  • single point of failure
  • traffic volume
  • distant centralized database
  • Maintenance
  • doesnt scale!

4
DNS Root name servers
13 root name servers worldwide
5
Simple DNS example
  • host surf.eurecom.fr wants IP address of
    gaia.cs.umass.edu
  • 1. contacts its local DNS server, dns.eurecom.fr
  • 2. dns.eurecom.fr contacts root name server, if
    necessary
  • 3. root name server contacts authoritative name
    server, dns.umass.edu, if necessary

root name server
2
4
3
5
authorititive name server dns.umass.edu
1
6
requesting host surf.eurecom.fr
gaia.cs.umass.edu
6
DNS example
root name server
  • Root name server
  • may not know authoritative name server
  • may know intermediate name server who to contact
    to find authoritative name server

6
2
3
7
5
4
1
8
authoritative name server dns.cs.umass.edu
requesting host surf.eurecom.fr
gaia.cs.umass.edu
7
DNS iterated queries
root name 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 dont know this name, but ask this server

iterated query
2
3
4
7
5
6
1
8
authoritative name server dns.cs.umass.edu
requesting host surf.eurecom.fr
gaia.cs.umass.edu
8
DNS caching and updating records
  • once (any) name server learns mapping, it caches
    mapping
  • cache entries timeout (disappear) after some time
  • update/notify mechanisms under design by IETF
  • RFC 2136
  • http//www.ietf.org/html.charters/dnsind-charter.h
    tml

9
DNS records
  • DNS distributed db storing resource records (RR)
  • TypeA
  • name is hostname
  • value is IP address
  • TypeCNAME
  • name is alias name for some cannonical (the
    real) name
  • www.ibm.com is really
  • servereast.backup2.ibm.com
  • value is cannonical name
  • TypeNS
  • name is domain (e.g. foo.com)
  • value is IP address of authoritative name server
    for this domain
  • TypeMX
  • value is name of mailserver associated with name

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

11
DNS protocol, messages
Name, type fields for a query
RRs in reponse to query
records for authoritative servers
additional helpful info that may be used
Write a Comment
User Comments (0)
About PowerShow.com