Presented by Neeta Jain - PowerPoint PPT Presentation

About This Presentation
Title:

Presented by Neeta Jain

Description:

Presented by Neeta Jain. DOMAIN NAME SYSTEM. CISC 856 TCP/IP and ... Pointer reverse lookup. 15. Mail Exchange. 28. Address - IPv6. 252. Zone Transfer. PTR ... – PowerPoint PPT presentation

Number of Views:179
Avg rating:3.0/5.0
Slides: 28
Provided by: servi8
Category:

less

Transcript and Presenter's Notes

Title: Presented by Neeta Jain


1
CISC 856 TCP/IP and Upper Layer Protocols
DOMAIN NAME SYSTEM
RFC 1034 RFC 1035
  • Presented by Neeta Jain

2
Introduction
1. What is the IP address of udel.edu ?
It is 128.175.13.92
1. What is the host name of 128.175.13.74
It is strauss.udel.edu
3

Real Life Analogy Telephone Example
Telephone connection
Source Child Newark, DE
Destination Dad Udel-Newark, DE
Information Child Needs Dads Phone
4
Child
(What is Dads Phone?)
1
Dads phone is 302-831-1949
8
Dials 0 (what is Newarks area code?)
Dads phone is 302-831-1949
7
Older sister
2
operator
University operator
3
Dials 302-831-4567 (what is Dad phone ?)
(Newarks area code is 302)
6
Dials 302-731-1212 (What is University ?)
4
5
(University number 302-831-4567)
Directory assist
5
DNS Components
  • There are 3 components
  • Name Space
  • Specifications for a structured name space and
    data associated with the names
  • Resolvers
  • Client programs that extract information from
    Name Servers.
  • Name Servers
  • Server programs which hold information about the
    structure and the names.

6
Name Space
7
Resolvers
  • A Resolver maps a name to an address and vice
    versa.

Query
Response
Name Server
Resolver
8
Iterative Resolution
9
Recursive Resolution
10
Name Server
Architecture
From disk
Zone transfer
11
Name Server (contd)
Authoritative Data
Response
Query
12
Name Server (contd)
Using Other Name Servers
Response
Response
Query
Query
13
Cached Data
Name Server (contd)
Response
Query
14
Block Diagram
Query
Query
Foreign Name Server
User Program
Resolver
Response
Response
Reference
Addition
Cache
15
DNS Messages
Messages
Query
Response
16
DNS Message Format
0 query, 1 response
Recursion Available flag
0 standard, 1 inverse, 2 server status
request
Authoritative Answer flag
Truncated flag
Recursion Desired flag
17
Question Record Format
sent in query repeated in response
class of network (1 Internet)
1
Address IPv4
A
2
Name Server (authoritative)
NS
5
Canonical Name (alias)
CNAME
12
Pointer reverse lookup
PTR
15
Mail Exchange
MX
Address - IPv6
AAAA
28
252
Zone Transfer
AXFR
counts
18
Resource Record Format
answer, authoritative, and additional sections in
response
name of host/domain that this record provides
information for
type of data in resource record (same types as
used in question record)
same as in question record
number of seconds this record may be cached
length of resource data
the payload of the resource record
19
Compression
bytes 0-11
byte 12
Question Section
Answer Section
1100000000001100 1210
20
Example forward query/response
21
Example inverse query/response
22
Resource Record Sections
  • Resource Record sections
  • answer record(s) sent in response to query(s).
  • authoritative DNS servers which are
    authoritative for answer record(s).
  • additional any other related information.
  • MX records
  • mail exchange (MX) records provide mail
    addressing info.
  • MX query asks What hosts will accept mail for
    domain X?
  • MX resource records say You can send mail for
    domain X to host Y.

23
Example MX response
24
Transport
  • DNS messages are encapsulated in UDP by default.
  • If the resolver expects the response to exceed
    512 bytes, the resolver encapsulates the query in
    TCP instead.
  • If a request is sent over UDP and the response is
    longer than 512 bytes, the server sends the first
    512 bytes of the response using UDP and sets the
    TC (truncated) flag. The resolver then re-sends
    the query using TCP.

25
Dynamic DNS
IP Address?
DHCP Server
Update
IP Address
Client
Zone File
Primary DNS Server
26
Acknowledgements
  • Many thanks to
  • Behrouz A. Forouzan http//www.mhhe.com/engcs/comp
    sci/forouzan/tcpipppt.mhtml
  • David Conrad
  • www.itu.int/osg/spu/enum/workshopjan01/annex2-con
    rad.ppt
  • Greg Forte
  • http//www.cis.udel.edu/amer/856/dns.03f.ppt

27
Questions
Write a Comment
User Comments (0)
About PowerShow.com