CSE Dns
CSE Dns
CSE Dns
org
Seminar
On
DNS
Submitted To:
www.studymafia.org
Submitted By:
www.studymafia.org
Content
INTRODUCTION
DNS HISTORY
WHAT IS DNS?
DNS COMPONENTS
o
o
o
Name Space:
Resolvers:
Name Servers:
Introduction
The Domain Name System (DNS) is basically a large
DNS History
What is DNS ?
The Domain Name System
What Internet users use to reference anything by name on
the Internet
The mechanism by which Internet software translates
names to attributes such as addresses
What is DNS ?
A globally distributed, scalable, reliable database
Comprised of three components
A name space
Servers making that name space available
Resolvers (clients) which query the servers about the name space
DNS as a Database
Keys to the database are domain names
Global Distribution
Data is maintained locally, but retrievable globally
performance
Loose Coherency
The database is always internally consistent
Scalability
No limit to the size of the database
Reliability
Data is replicated
Data from master is copied to multiple slaves
Clients can query
Master server
Any of the copies at slave servers
Clients will typically query local caches
DNS protocols can use either UDP or TCP
If UDP, DNS protocol handles retransmission,
sequencing, etc.
Dynamicity
Database can be updated dynamically
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.
Name Space
16
Resolvers
17
Query
Response
Resolver
Name Server
Iterative Resolution
a.root
server
18
a3.nstl
d.com
udel
server
a.gtldserver
ns1.goo
gle.com
7
3 iterative response (referral)
I don't know. Try a.root-servers.net.
iterative response (referral)
9
I don't know. Try a.gtld-servers.net.
1 iterative response (referral)
iterative response (referral)
I don't know. Try a3.nstld.com.
2 4
I don't know. Try ns1.google.com.
6
iterative response
8
The IP address of www.google.com
is 216.239.37.99.
client 10
iterative request
What is the IP address of
www.google.com?
Recursive Resolution
root19
server
edu
server
udel
server
com
3
8
server
6
9
1
10
client
recursive request
What is the IP address of
www.google.com?
recursive response
The IP address of www.google.com is
216.239.37.99.
google
server
Name Server
20
Architectu
re: Name Server Process
Authoritative Data
(primary master and
slave zones)
Cache Data
(responses from
other name servers)
Agent
(looks up queries
on behalf of resolvers)
From
disk
Zone
data
file
Zone transfer
Master
server
Authoritative
Data:
Name Server Process
Authoritative Data
(primary master and
slave zones)
Response
Cache Data
(responses from
other name servers)
Agent
(looks up queries
on behalf of resolvers)
Query
Resolver
Response
Response
Query
Arbitrary
name
server
Query
Resolver
Cached Data :
Response
Cache Data
(responses from
other name servers)
Agent
(looks up queries
on behalf of resolvers)
Query
Resolver
Reference
www.google.com
www.wikipedia.com
www.studymafia.org
THANK YOU!