Domain Name System
CSCI 466: Networks • Keith Vertanen • Fall 2011 http://xkcd.com/302/
Domain Name System http://xkcd.com/302/ CSCI 466: Networks Keith - - PowerPoint PPT Presentation
Domain Name System http://xkcd.com/302/ CSCI 466: Networks Keith Vertanen Fall 2011 Overview Final project + presentation Some TCP and UDP experiments Domain Name System (DNS) Hierarchical name space Maps friendly
CSCI 466: Networks • Keith Vertanen • Fall 2011 http://xkcd.com/302/
2
3
4
0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.1 0.11 0.12 0.13 0.14 0.15 0.16 0.17 0.18 0.19
5
0.01 0.02 0.03 0.04 0.05 0.06 0.1 0.11 0.12 0.13 0.14 0.15 0.16 0.17 0.18 0.19 TCP home UDP home
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
– Transported over UDP – Retry same server with exponential backoff – Can switch to trying other DNS servers
21
– 16 bit # for query, reply uses same #
– Query or reply – Recursion desired – Recursion available – Reply is authoritative
status = getaddrinfo("cnn.com", "80", &hints, &res);
22
23
status = getaddrinfo("fewavbawe34332.com", "80", &hints, &res);
24
25
26
27
28
29
previous found domain name
30
bogus domain name
31
site very similar to real site… User sees the correct URL in their browser.
32
33
34
35
36
37
38
39
40