Domain Name System
Domain Name System
DNS
ARPANET utilized a central file HOSTS.TXT
Contains names to addresses mapping
Maintained by SRIs NIC (Stanford-Research-
Institute: Network-Information-Center)
DNS History
As the system grew, HOSTS.TXT had problems with:
Scalability (traffic and load)
Name collisions In 1984, Paul Mockapetris released the first
Consistency version (RFCs 882 and 883, superseded
by 1034 and 1035 )
The Domain Name System is What Internet users use to reference
anything by name on the Internet
DNS
In this case, the authority to assign and control the name spaces can be
decentralized.
A central authority can assign the part of the name that defines the nature of
the organization and the name of the organization.
The responsibility of the rest of the name can be given to the
organization itself.
The organization can add suffixes (or prefixes) to the name to define
its host or resources.
DOMAIN NAME SPACE
The name space 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 label, written as
The root node
""
second-level node second-level node second-level node second-level node second-level node
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
One domain is a subdomain of another if its domain name ends in the others
domain name
So sales.nominum.com is a subdomain of
nominum.com & com
nominum.com is a subdomain of com
A fully qualified domain name (FQDN) If a label is not terminated by a null string,
is the complete domain name for a it is called a partially qualified domain
specific computer, or host, on the name(PQDN).
Internet.
A PQDN starts from a node,but it does not
The FQDN consists of two parts: the reach the root.
hostname and the domain name.
It is used when the name to be resolved
For example, an FQDN for a belongs to the same site as the client .
hypothetical mail server might be
mymail.somecollege.edu Here the resolver can supply the missimg
part, called the suffix,to create an FQDN.
A fully qualified domain name
(FQDN), sometimes also referred to For example, an PQDN for a hypothetical
as an absolute domain name mail server might be mymail
Hierarchy of Name Servers
Zone
Distribute the information among
many computers called DNS
What a server is responsible for or has
servers.
authority over is called a zone.
One way to do this is to divide the
If a server accepts responsibility for a
whole space into many domains
domain and does not divide the domain
based on the first level.
into smaller domains, the "domain" and the
"zone" refer to the same thing.
DNS allows domains to be divided
further into smaller domains
The server makes a database called a zone
(subdomains).
file and keeps all the information for every
node under that domain.
Each server can be responsible
(authoritative) for either a large or
small domain.
A root server is a server
whose zone consists of Hostname IP Addresses Manager
the whole tree. a.root-servers.net 198.41.0.4, 2001:503:ba3e::2:30 VeriSign, Inc.
University of Southern California
b.root-servers.net 192.228.79.201, 2001:500:84::b
(ISI)
A root server usual) does c.root-servers.net 192.33.4.12, 2001:500:2::c Cogent Communications
not store any information d.root-servers.net 199.7.91.13, 2001:500:2d::d University of Maryland
about domains but e.root-servers.net 192.203.230.10, 2001:500:a8::e NASA (Ames Research Center)
delegates its authority to f.root-servers.net 192.5.5.241, 2001:500:2f::f
Internet Systems Consortium,
Inc.
other senders, keeping g.root-servers.net 192.112.36.4, 2001:500:12::d0d US Department of Defense (NIC)
references to those h.root-servers.net 198.97.190.53, 2001:500:1::53 US Army (Research Lab)
servers. i.root-servers.net 192.36.148.17, 2001:7fe::53 Netnod
192.58.128.30,
j.root-servers.net VeriSign, Inc.
2001:503:c27::2:30
Currently there are 13 k.root-servers.net 193.0.14.129, 2001:7fd::1 RIPE NCC
root servers each l.root-servers.net 199.7.83.42, 2001:500:9f::42 ICANN
covering the whole m.root-servers.net 202.12.27.33, 2001:dc3::35 WIDE Project
If the server is an
authority for the name,
it sends the answer.
If it is not, it returns
the IP address of the
server that it thinks can
resolve the query.
When a server asks for a mapping from another server and receives the
response, it stores this information in its cache memory before sending
it to the client.
Caching