Professional Documents
Culture Documents
I.History of DNS
Resources on the Internet supported by HOSTS file. was originally
Names and the corresponding IP addresses were entered by the network administrators into this file. HOSTS.TXT was maintained by the Network Information Centre (NIC) and contained the Host name to address mappings.
Updating the HOSTS file became difficult with the explosive growth of Internet. The file grew bigger and could not be partitioned as it used a flat namespace. The task became networks grew. management intensive as
This called for a more sophistciated and well defined naming service structure that was hierarchically structured.
Thus DNS was introduced in the year 1984 for translating the resource names into IP addresses. The host names reside in a database and can be distributed among multiple servers. The hierarchical namespace also provided rules for dividing the namespace into subsets of names. Information about the host names and IP addresses could be partitioned and distributed.
b. Resource records
Maps DNS domain names to a specific type of resource information when the name is registered or resolved in the namespace.
c. DNS Zones
Zone is a range of responsibility within the domain name space that spans a subtree or a portion of a sub-tree
a. DNS Domain Namespace Domain name space is a hierarchical tree structure containing the names in a DNS database. The database consists of Hosts name and Domain name. A Domain Can be considered as a subtree of the domain name space. Domain names are of a specific pattern that is concatenation of node names eg.training.nic.in.
The Internet can be thought of as a single DNS namespace. The root or the top-most level of the Internet domain namespace is managed by the Internet name registration authority. The root has no name but is represented by a period or . Below the root DNS domain are the top level domains. The Top level domains are child of the root.
Domain levels Name Top-level domain First-Level Domain Second-Level Domain Third-level Domain Child of Root Domain
in
.com
.in .gov nic mah asm .edu
.arpa
kar
.edu
buffalo.edu
.gov
nasa.gov
b.Resource Records DNS database consists of Resource Records(RR). Each resource record is a member of class.(INTERNET Class is the most popular) The Class is further broken down into Types. The type corresponds to the type of data stored in the record. eg: server1.com IN A 124.x.y.z (IN stands for INTERNET and A stands for address information.) a
c. DNS Zones
DNS database is comprised of multiple zones. Zones allowed the management of the domain space to be delegated.
Zone
in
com
org
Zone
nic
nic.in domain
training
Zone
in
nic.in domain
com
org
Zone
nic
training.nic.in domain
asm
Zone Zone
training
Fig 2:
Different types of Zones and Zone files There are two types of Zones A query uses forward zone when resolution starts with a domain name and result in an IP address. A query uses reverse zone when the resolution starts with an IP address and results in a domain name.
DNS Server
Zone Transfer
Primary Zone
Secondary Zone
Zone Transfer
Change
Change
Change
A
DNS Server A
Primary Zone
Zone Information
Secondary Zone (Master DNS Server = DNS Server A)
DNS Server C
d.DNS Name Servers DNS zone database is stored in and accessed through a name server. Name servers can store data for one zone or multiple zones. A name server is said to have authority for the domain namespace that the zone encompasses. There must be at least one name server for a zone
III.Functioning of DNS
DNS uses a client/server architecture. Domain name resolvers. clients are called name
DNS
The request include type of information and a key(either a domain name or IP address).
Resolution
A DNS Server receives two types of requests Recursive Iterative DNS clients always makes recursive requests whereas DNS server uses both types of requests.
nic
DNS Server 1
2
Cache <empty>
9 10
training
11 training.nic.in
DNS Client
domain
nic
DNS Server 1
2
Cache <empty>
9 10
training
11
IV.Replication of DNS
Replicating a zone file to multiple name servers is called zone transfer. Zone transfer is accomplished by copying the zone file information from master server to secondary server. There are two types of zone file replication
Full zone transfer (AXFR), replicates the entire zone file. Incremental zone transfer (IXFR), replicates only the changed records of the zone.
DNS Server
(Master)
DNS Server Primary Zone Database File expt1 trglab Secondary Zone Database File expt2
Zone 1
Enables DNS client computers to register and dynamically update their resource records with a DNS server whenever changes occur.
Allow Windows 2000 clients to update their own forward lookup records, and they allow DHCP and WINS servers to update the forward and reverse lookup records of all clients.
Using Cache-only servers to reduce network traffic Using the DNS Snap-in Using the nslookup utility.