Professional Documents
Culture Documents
Internet Networking Recitation #2
Internet Networking Recitation #2
recitation #2
DNS and DHCP
Use of Caching.
DNS tree
root
com
ibm
cnn
org
gov
net
il
ac
technion
co
gov
tau
Reliability scheme:
Time out.
Retransmissions - resends timed out query to a different
server.
DNS Terms
ac.il 2 labels
mail.yahoo.com
\.name.example
DNS Elements
Resolver:
DNS caches store data for a short time defined by TTL on the
Record.
Every server knows how to reach servers that are authorities for
names further down the hierarchy.
Root Server
Ask org NS
www.ietf.org
Org
Server
Ask ietf.org NS
Stub resolver
www.ietf.org
A
65.256.255.51
Recursive
Resolver
Ietf.org Server
www.ietf.org
A
65.256.255.51
8
RFC 2131
DHCP (cont.)
s e rv e r A
(not selected)
DHCP discover
determine
configuration
DHCP offer
c lie n t
s e rv e r B
(selected)
DHCP discover
DHCP offer
determine
configuration
select configuration
DHCP request
DHCP request
DHCP ack
Initialization completes
using the allocated configuration
graceful shutdown
DHCP release
discard lease
DHCP Messages
DHCPDISCOVER
DHCPOFFER
DHCPREQUEST
DHCPRELEASE
11
DHCPACK
DHCPNAK
DHCPDECLINE
DHCPINFORM
xid
Transaction ID.
ciaddr
Client IP address
yiaddr
Your IP address.
siaddr
Server IP address.
chaddr
Client MAC address
13
14
DHCPOFFER
DHCPREQUEST
15
16