Академический Документы
Профессиональный Документы
Культура Документы
(DNS)
Fall 2002
1
Ch 8- DNS© Jörg Liebeherr and Magda El Zarki, 2002
What is DNS?
2
Fall 2002 Ch 8- DNS© Jörg Liebeherr and Magda El Zarki, 2002
Why DNS?
5
Fall 2002 Ch 8- DNS© Jörg Liebeherr and Magda El Zarki, 2002
How does it work?
doesn’t scale!
7
DNS Queries
• Recursive:
The client machine sends a request to the local
name server, which, if it does not find the
address in its database, sends a request to the
root name server, which, in turn, will route the
query to an intermediate or authoritative name
server. Note that the root name server can
contain some hostname to IP address
mappings. The intermediate name server
always knows who the authoritative name
server is.
8
Fall 2002 Ch 8- DNS© Jörg Liebeherr and Magda El Zarki, 2002
DNS Queries (cont’d)
• Iterative:
The local server queries the root server.
If address not in its database, will have
the name/address of an intermediate or
authoritative name server and forward
that information to the local name
server so that it can directly
communicate with the intermediate or
authoritative name server. This is to
prevent the overloading of the root
servers that handle millions of requests.
9
Fall 2002 Ch 8- DNS© Jörg Liebeherr and Magda El Zarki, 2002
DNS name resolution example
root DNS
server
2
• Host at cis.poly.edu 3
TLD DNS
wants IP address 4 server
for 5
gaia.cs.umass.edu
• iterated local DNS server
query: dns.poly.edu
7 6
1 8
contacted server
replies with name authoritative DNS server
of server to dns.cs.umass.edu
requesting host
contact
cis.poly.edu
“I don’t know gaia.cs.umass.edu
this name, but
ask this server”
10
DNS name resolution example
root DNS
server
• recursive 2 3
query: 6
7
puts burden of TLD DNS
name resolution server
on contacted name
local DNS server
server 5 4
dns.poly.edu
heavy load? 1 8
11
Summary