Top Banner
A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence <[email protected]>
67

A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Mar 27, 2015

Download

Documents

Chloe Hansen
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

A Primer on the Domain Name System

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

David C Lawrence<[email protected]>

Page 2: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Overview

• Introduction to the DNS

• Components of the DNS

• DNS Governance

Page 3: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

The DNS Is…

• The “Domain Name System”• What people use to refer to computers by name on

the Internet• The mechanism by which Internet software

translates names to addresses and vice versa• A globally distributed, loosely coherent, scalable,

reliable, dynamic database • The only database system that has been

successfully deployed Internet-wide

Page 4: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

DNS History

• Created in 1983 by Paul Mockapetris to address maintenance problems with the Internet hosts database, fondly remembered as HOSTS.TXT.

• Originally defined in IETF RFCs 1034 and 1035, then extended by numerous subsequent RFCs.– RFC stands for Request for Comments– Standards for Internet protocols are documented by

RFCs• Not all Internet protocols have RFCs• Not all RFCs define standards

Page 5: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Names versus Addresses

• An address is how you get to an endpoint– Often hierarchical, which helps with scaling

• 950 Charter Street, Redwood City CA, 94063

• +1.650.381.6003

• 204.152.187.11

• A name is how an endpoint is referenced– Often with no structurally significant hierarchy

• “David”, “Tokyo”, “itu.int”

• Names are more people-friendly.

Page 6: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

An Analogy• Devices on the telephone network all have a number

– People have a hard time remembering numbers, but…– The network needs the numbers to connect endpoints– So a directory provides association of names people know

with the numbers where they can be reached

• Computers on the Internet all have a number– The DNS takes names people can relate to and converts them

into the numbers computers need to interact.

• This analogy has a crucial flaw: the DNS is not a directory service.– There is no way to search the data.

Page 7: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

DNS is a Database

• Keys to the database are “domain names”– www.foo.com, 18.in-addr.arpa, 6.4.e164.arpa

• Over 100,000,000 domain names are now stored

• Each domain name contains one or more attributes, known as resource records

• Each attribute is individually retrievable

Page 8: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Global Distribution

• Data is maintained locally, but retrievable globally– No single computer has all DNS data

• DNS lookups can be performed by any Internet-connected device

• Remote DNS data is locally cacheable to improve performance

Page 9: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Loose Coherency

• The database is always internally consistent– Each version of a subset of the database (a zone) has a

serial number– The serial number is incremented on each database

change

• Changes to the master copy of the database are replicated according to timing set by the zone administrator

• Cached data expires according to timeout set by zone administrator

Page 10: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Scalability

• No intrinsic limit to the size of the database– Some servers have over 20,000,000 names

• Not a particularly good idea

• No limit to the number of queries– 80,000 queries per second handled regularly

• Queries distributed among many different servers

Page 11: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Reliability

• Data is replicated– Data from master source is copied to multiple

slave servers– Clients can query master server or slave servers

• DNS protocols can use either UDP or TCP– UDP is inherently unreliable, but the DNS

protocol handles retransmission (perhaps with TCP), sequencing, et cetera.

Page 12: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Dynamic Updates

• Database can be updated dynamically– Master server accepts update from over the

network– Add/delete/modify any record

• Modification of the master database triggers replication– Only master can be dynamically updated– Dynamic updates create a single point of failure

Page 13: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Overview

• Introduction to the DNS

• Components of the DNS– The namespace– The servers– The resolvers

• DNS Governance

Page 14: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

The Namespace

• The namespace is the structure of the DNS database– An inverted tree with the root node at the top

• Each node has a label– The root node has a null (empty) label, written as “” or “.”

– The root node is usually considered to be implicitly present

th ird -le ve l n o de

se co n d-le ve l no de se co n d-le ve l no de

to p -le ve l no de

th ird -le ve l n o de th ird -le ve l n o de

se co n d-le ve l no de

to p -le ve l no de

se co n d-le ve l no de se co n d-le ve l no de

to p -le ve l no de

T h e roo t no de""

Page 15: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Another Analogy – E.164• Root node maintained by the ITU (call it “+”)• Top level nodes = country codes (1, 81, etc)• Second level nodes = regional codes (1.808, 81.3, etc)

. ..

. .. 2 02

6 003

3 81

6 003

7 79

6 50 8 08

1

5 226 2 024

3 489

3 4 8 52

81 ...

"+ "

Page 16: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

foo foo

to p -1

foo a t& t

to p -2

b ar b az

to p -3

""

Labels

• Each node in the tree must have a label– A string of up to 63 8 bit bytes

• The DNS protocol explicitly makes no limitation on what binary values are used in labels– RFCs 852 and 1123 define legal

characters for “hostnames”• A-Z, 0-9, and “-” only with a-z

and A-Z treated as the same

• Sibling nodes must have unique labels

• A zero length label is the null label, representing the root node

Page 17: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Domain Names• A domain name is the sequence of labels from a node to the root,

separated by dots (“.”s), read left to right– The name space has a maximum depth of 127 levels

– Domain names are limited to 255 characters in length

• A node’s domain name identifies its position in the name space

d a ko ta

w e s t

to rna do

e a st w w w

n o m in um m e ta in fo

com

b e rke ley n w u

e du g ov

n a to

in t

a rm y

m il

uu

n e t o rg

""

Page 18: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Domain Name Usage• Domain names are ubiquitous on the Internet• Used for much more than email and “web

addresses”– Security policy, remote filesystems, remote login, time

synchronization, chat systems, gaming, proxies

• Used by much more than modern Windows PCs– Mainframe computers, Macs, Unix servers, handheld

organizers, cell phones, embedded systems, now even kitchen appliances

• Any attempt to change the way domain names work needs to take into account the myriad existing systems on the heterogenous Internet– Especially with regard to security policy

Page 19: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Subdomains and Delegation

• One domain is a subdomain of another if its name ends with the labels of the other domain name.– engr.nominum.com is a subdomain of nominum.com

– example.com is not a subdomain of ample.com

• Administrators can create subdomains to group hosts– According to geography, organizational affiliation or any other

criterion

• An administrator of a domain can delegate responsibility for managing a subdomain to someone else– But this isn’t required

• The parent domain retains control over delegation of subdomains, no matter who has responsibility for them

Page 20: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Delegation Creates Zones

• Each time an administrator delegates a subdomain, a new unit of administration is created– The subdomain and its parent domain can now be

administered independently

– These units are called zones

– The boundary between zones is a point of delegation in the name space

• Delegation is good: it is the key to scalability

Page 21: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Dividing a Domain into Zonesnominum.com

domain

nominum.com zone

ams.nominum.com zonerwc.nominum.com

zone

.a rpa

a cm e bw

m o lo ka i skye

rw c w w w ftp

g ou da ch e dd ar

a m s

n o m in um n e tso l

.com .edu

""

Page 22: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Overview

• Introduction to the DNS

• Components of the DNS– The name space– The servers– The resolvers

• DNS Governance

Page 23: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Servers

• Name servers are the computers that answer DNS queries

• Name servers store zones– The name servers that load a complete zone are said to

“have authority for” or “be authoritative for” the zone

• Usually, more than one name server are authoritative for the same zone– This ensures redundancy and spreads the load

• Also, a single name server may be authoritative for many zones

Page 24: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Servers and Zones

128.8.10.5nominum.com

204.152.187.11

202.12.28.129

Name Servers

isc.org

Zones128.8.10.5 serves data for both

nominum.com and isc.org zones

202.12.28.129 serves data for nominum.com

zone only

204.152.187.11 serves data for

isc.org zone only

Page 25: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Types of Name Servers

• Two main types of servers– Authoritative – maintains the data

• Master – where the data is edited (manually or automatically)

• Slave – where data is replicated to (automatically)

– Caching – stores subsets of zone data obtained from authoritative servers

– The most common name server implementation, BIND, combines these two into a single process

• No special hardware necessary for most zones

Page 26: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Server Architecture

• Name servers perform three essential tasks:– database server, answering queries about the

parts of the name space it is responsible for– cache, temporarily storing data it learns from

other name servers to reuse if the same question is asked again, and

– agent, helping resolvers and other name servers find data that other name servers know about

Page 27: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Overview

• Introduction to the DNS

• Components of the DNS– The name space– The servers– The resolvers

• DNS Governance

Page 28: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Resolution

• Name resolution is the process by which resolvers and name servers cooperate to find data in the name space– Remember, not a “search”

• To find information anywhere in the name space, a name server only needs the names and IP addresses of the name servers for the root zone (the “root name servers”)– The root name servers know about the top-level zones

and can tell name servers whom to contact for all TLDs

Page 29: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Resolution

• A DNS query has three parameters:– A domain name (e.g., www.nominum.com),– A class (e.g., IN), and– A type (e.g., A)

• A name server receiving a query from a resolver looks for the answer in its authoritative data first and then in its cache– If it doesn’t have the requested data and is not

authoritative for the domain in the query, other servers must be consulted

Page 30: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

ping www.nominum.com.

Name Resolution Example

• Let’s look at the resolution process step-by-step:

annie.west.sprockets.com

Page 31: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

What’s the IP address of

www.nominum.com?

Name Resolution Example• The workstation annie asks its configured name

server, dakota, for www.nominum.com’s address

ping www.nominum.com.annie.west.sprockets.com

dakota.west.sprockets.com

Page 32: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Resolution Example• The name server dakota asks a root name server, m, for

www.nominum.com’s address

ping www.nominum.com.annie.west.sprockets.com

m.root-servers.net

dakota.west.sprockets.com

What’s the IP address of

www.nominum.com?

Page 33: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Resolution Example• The root server m refers dakota to the com name servers

• This type of response is called a “referral”

ping www.nominum.com.annie.west.sprockets.com

m.root-servers.net

dakota.west.sprockets.com Here’s a list of the com name servers.

Ask one of them.

Page 34: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Resolution Example• The name server dakota asks a com name server, f,

for www.nominum.com’s address

ping www.nominum.com.annie.west.sprockets.com

m.root-servers.net

dakota.west.sprockets.com

What’s the IP address of

www.nominum.com?

f.gtld-servers.net

Page 35: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Resolution Example• The com name server f refers dakota to the

nominum.com name servers

ping www.nominum.com.annie.west.sprockets.com

f.gtld-servers.net

m.root-servers.net

dakota.west.sprockets.com

Here’s a list of the nominum.com name servers.

Ask one of them.

Page 36: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Resolution Example• The name server dakota asks a nominum.com name server,

ns1.sanjose, for www.nominum.com’s address

ping www.nominum.com.annie.west.sprockets.com

f.gtld-servers.net

m.root-servers.net

dakota.west.sprockets.com

ns1.sanjose.nominum.net

What’s the IP address of

www.nominum.com?

Page 37: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Name Resolution Example• The nominum.com name server ns1.sanjose

responds with www.nominum.com’s address

ping www.nominum.com.annie.west.sprockets.com

f.gtld-servers.net

m.root-servers.net

dakota.west.sprockets.com

ns1.sanjose.nominum.netHere’s the IP address for

www.nominum.com

Page 38: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Here’s the IP address for

www.nominum.com

Name Resolution Example• The name server dakota responds to annie with

www.nominum.com’s address

ping www.nominum.com.annie.west.sprockets.com

f.gtld-servers.net

m.root-servers.net

dakota.west.sprockets.com

ns1.sanjose.nominum.net

Page 39: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

ping ftp.nominum.com.

Resolution Process (Caching)• After the previous query, the name server dakota now knows:

– The names and IP addresses of the com name servers

– The names and IP addresses of the nominum.com name servers

– The IP address of www.nominum.com

• Let’s look at the resolution process again

annie.west.sprockets.com

Page 40: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

ping ftp.nominum.com.

What’s the IP address of ftp.nominum.com?

Resolution Process (Caching)• The workstation annie asks its configured name

server, dakota, for ftp.nominum.com’s address

annie.west.sprockets.com

f.gtld-servers.net

m.root-servers.net

dakota.west.sprockets.com

ns1.sanjose.nominum.net

Page 41: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

ping ftp.nominum.com.

What’s the IP address of ftp.nominum.com?

Resolution Process (Caching)• dakota has cached an NS record indicating ns1.sanjose is

an nominum.com name server, so it asks it for ftp.nominum.com’s address

annie.west.sprockets.com

f.gtld-servers.net

m.root-servers.net

dakota.west.sprockets.com

ns1.sanjose.nominum.net

Page 42: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

ping ftp.nominum.com.

Here’s the IP address for

ftp.nominum.com

Resolution Process (Caching)• The nominum.com name server ns1.sanjose

responds with ftp.nominum.com’s address

annie.west.sprockets.com

f.gtld-servers.net

m.root-servers.net

dakota.west.sprockets.com

ns1.sanjose.nominum.net

Page 43: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

ping ftp.nominum.com.

Here’s the IP address for

ftp.nominum.com

Resolution Process (Caching)• The name server dakota responds to annie with

ftp.nominum.com’s address

annie.west.sprockets.com

f.gtld-servers.net

m.root-servers.net

dakota.west.sprockets.com

ns1.sanjose.nominum.net

Page 44: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

What Data can be Resolved?

• Any name in the name space• Class

– Internet (IN), Chaos (CH), Hesiod (HS)

• Type– Address (A, AAAA, A6)– Pointer (PTR, NAPTR)– Aliases (CNAME, DNAME)– Security related (TSIG, SIG, NXT, KEY)– Mail handler (MX)– Et cetera

Page 45: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Security

• Base DNS protocol (RFC 1034, 1035) is insecure– “Spoof” attacks are possible

• DNS Security Enhancements (DNSSEC, RFC 2565) remedies this flaw– But creates new ones

• DoS attacks• Amplification attacks• Operational considerations

• DNSSEC strongly discourages large flat zones– Hierarchical delegation is good

Page 46: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Performance

• DNS is a very lightweight protocol– Simple query – response

• Any performance limitations are the result of network limitations– Speed of light– Network congestion– Switching/forwarding latencies

Page 47: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Query Load

• DNS can handle a high rate of queries– Individual root servers get approximately 5000

queries per second (down from 8000 qps)• Empirical proofs (DDoS attacks) show root name

servers can handle 50,000 queries per second– Limitation is network bandwidth, not the DNS protocol

– in-addr.arpa zone, which translates numbers to names, gets about 2000 queries per second

Page 48: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Overview

• Introduction to the DNS

• Components of the DNS

• DNS Governance

Page 49: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

DNS Structure and Hierarchy

• The DNS imposes no constraints on how the DNS hierarchy is implemented except:– A single root: when the resolver starts at the root, there

is only one possible response for its query– The size restrictions of 63 bytes per label, 127 labels

per name and 255 bytes per name

• If a site is not connected to the Internet, it can use any domain hierarchy it chooses– Can make up whatever TLDs it wants

• Connecting to the Internet implies use of the existing DNS hierarchy

Page 50: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Top-level Domain (TLD) Structure

• In 1983, RFC 881 defined TLDs that corresponded to network service providers– For example, ARPA, DDN, and CSNET

• Bad idea: if your provider changes, your email address changes

• RFC 920 established functional domains in 1984– For example, GOV for government, COM for

commercial, and EDU for education

• RFC 920 also made provisions for– Domains for each nation – Domains for “multiorganizations”, very large groups of

other (particularly international) organizations

• This TLD structure was stable until roughly 1996

Page 51: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

The RFC 920 TLD structure

C O MC o m m e rc ia l O rg a n iza tio ns

N E TN e tw o rk In fra stru c tu re

O R GO th er O rga n iza tio ns

G e n e ric T L Ds(g T L D s)

A FA fg ha n is tan

A LA lba n ia

D ZA lg e ria

...

Y UY u g os la v ia

Z MZ a m b ia

Z WZ im ba b we

C o u n try C o de T L Ds(ccT L D s )

IN TIn te rna tion a l Tre a ty O rga n iza tio ns

A R P A(T ra n s it ion D e v ice)

In te rn a tion a l T L Ds(iT L D s )

G O VG o vern m e n ta l O rga n iza tio ns

M ILM ilita ry O rga n iza tio ns

E D UE d uca tio n a l In stitu tio ns

U S L e g acy T L Ds(u sT L D s)

"."

Page 52: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

The Domain Name Wars

• In 1996,the US National Science Foundation permitted Network Solutions to charge a usage fee for the allocation and registration of domain names– This was to compensate for the work burden caused by the

explosive growth the Internet was undergoing

• The resultant controversy caused the US Government’s Dept. of Commerce to take a much more active role– Official governmental policy (the White Paper) on Internet

resource administration was created

• That policy ultimately resulted in the creation of ICANN

Page 53: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Internet Corporation for Assigned Names and Numbers

• ICANN is a California non-profit organization based in Marina Del Rey, California, USA

• Consists of:– A set of three Supporting Organizations

• Address Supporting Organization, Domain Name Supporting Organization, Protocol Supporting Organization

– A board of 19 members• 9 elected by public membership• 3 each by each of the Supporting Organizations• 1 President/CEO

– A set of committees, task forces and other subgroups• Governmental Advisory Committee, Addressing Ad Hoc Committee,

and so on, that advise the board

Page 54: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Page 55: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

ICANN’s Role

• To oversee administer Internet resources including– Addresses

• Delegating blocks of addresses to the regional registries

– Protocol identifiers and parameters• Allocating port numbers, object identifiers, and similar shared

resources

– Names• Administration of the root zone file

• Oversight of the operation of the root name servers

Page 56: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

The Internet Root

• The DNS protocol assumes a consistent name space

• This consistency is enforced by the constraint of a single root for the Internet domain name space– In the technical standard, there is no definition for how

that single root is created and governed

• ICANN oversees modification of the zone file that makes up the Internet DNS root

Page 57: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Multiple Roots?• The single root can be seen as a single point

of control for the entire Internet– Edit control of the root zone file implies the

ability to control the entire tree

• Multiple root solutions have often been proposed– Unless coordinated, inconsistencies result, such

as the answer you get depending on where you ask

• This is bad. Bad bad bad bad bad.

– If coordinated, still have single point of control

Page 58: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

The Root Nameservers

• The root zone file is published on 13 servers, “A” through “M”, located around the Internet– Location of root nameserver is a function of

network topology, most are currently in USA

• Root name server operations currently provided by volunteer efforts by a very diverse set of organizations

Page 59: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Root Name Server OperatorsNameserver Operated by:

A Verisign (US East Coast)

B University of S. California –Information Sciences Institute (US West Coast)

C PSI (US East Coast)

D University of Maryland (US East Coast)

E NASA (Ames) (US West Coast)

F Internet Software Consortium (US West Coast)

G U. S. Dept. of Defense (ARL) (US East Coast)

H U. S. Dept. of Defense (DISA) (US East Coast)

I KTH (Sweden)

J Verisign (US East Coast)

K RIPE-NCC (UK)

L ICANN (US West Coast)

M WIDE (Japan)

Page 60: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Registries, Registrars, and Registrants

• The Domain Wars resulted in a codification of the various roles required in the operation of a domain name space– Primarily with regard to the handling of TLDs

• Registry– Refers to the name space’s database

– Also refers to the organization which has edit control of that database, including dispute resolution and policy control

– This organization runs the authoritative servers for the name space

• Registrar– the agent which submits change requests to the registry on behalf

of the registrant

• Registrant– The entity which makes use of the domain name

Page 61: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Registries, Registrars, and Registrants

Registry Zone DB

RegistrantsRegistrants

End user requests add/modify/delete

Registrar submits add/modify/delete to registry

Registrar RegistrarRegistrar

Masterupdated

Registry updateszone

Slaves updated

Page 62: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

The “Generic” Top-Level Domains (gTLDs)

• com, net and org– By far the largest top level domains on the Internet

today• com has more than 20,000,000 names

– Essentially no restriction on what can be registered

• Network Solutions (now Verisign) received the contract for the registry for com, net and org– also a registrar for these TLDs, but required to keep

these business units separate

Page 63: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

New Top Level Domains

• In late 2000, ICANN approved seven new top level domains:– aero, biz, coop, info, museum, name, pro

• Some are chartered (aero, coop, museum, name, pro)

• Some are generic (biz, info)

– Most are now active

• Many people unhappy with the process by which these new TLDs were created– Expect continued debate – and lawsuits

Page 64: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Country Code Top-level Domains

• With RFC 920, the concept of domains delegated on the basis of nations was recognized

• ISO has a list of “official” country code abbreviations in ISO-3166

• IANA has also used Universal Postal Codes – For example, gg for Guernsey)

• Key consideration is to use lists other organizations define to avoid getting into political battles over what is or is not a valid ccTLD

Page 65: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

ccTLD Internal Organization• How each country top-level domain is organized is up

to the country– Some, like Australia’s au, follow the traditional functional layout

• com.au, edu.au, …

– Others, like Great Britain’s uk and Japan’s jp, divide the domain functionally but use their own abbreviations

• ac.uk, co.uk, ne.jp, ad.jp, …

– A few, like the United State’s us, are largely geographical• co.us, md.us, …

– Canada uses organization and sometimes geographic scope• bnr.ca has national scope, risq.qc.ca has Quebec scope

– Some are flat, that is, no hierarchy• nlnet.nl, univ-st-etienne.fr, …

– Considered a question of national sovereignty

Page 66: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

arpa

• Only arpa is hardwired into the DNS sysem– DNS resolver software knows about it explicitly

• Now, Address and Routing Parameter Area– Was Advanced Research Projects Administration

• US Dept. of Defense network, precursor to the Internet

• Used for infrastructure domains– IPv4 reverse (address to name) lookups

– IPv6 reverse lookups

– E.164 (ENUM)

Page 67: A Primer on the Domain Name System Joint ITU/WIPO Multilingual Name Symposium 6 December 2001 David C Lawrence.

Copyright © 2001, Nominum, Inc.

Joint ITU/WIPO Multilingual Name Symposium6 December 2001

Other TLDs

• gov – used by US governmental organizations– state.gov, doj.gov, whitehouse.gov, …

• mil – used by the US military– af.mil, army.mil, …

• edu – used for educational institutions– Higher learning, not only US-based ones– harvard.edu, uvm.edu, utoronto.edu, …

• int – international treaty organizations– E.g., itu.int, nato.int, wipo.int