Documente Academic
Documente Profesional
Documente Cultură
An organization obtains authority for parts of the name space, and can add
additional layers of the hierarchy
www.virginia.edu cs.virginia.edu
Example:
DNSdomains are
., edu, virginia.edu, cs.virginia.edu
neon.cs.virginia.edu
FULLYQUALIFIED DOMAIN NAME (FQDN):
Every node in the DNSdomain tree can be identified by a unique
Fully Qualified Domain Name (FQDN). The FQDN gives the
position in the DNStree.
In this, the label is terminated by a nullstring.
It is a domain name that contains the full name of the host.
It contains all labels, from the most specific to the most general,
that uniquely define the host.
Adding a host:
When a new host is added (“gold.cs.virginia.edu”) to a zone, the
administrator adds the IP information on the host (IP address and name)to
a configuration file on the primaryserver
RESOURCERECORDS
db.mylab.com
The database records of
the distributed data base $TTL 86400
mylab.com. IN SOA PC4.mylab.com.
are called resource records hostmaster.mylab.com. (
(RR) 1 ;serial
28800 ; refresh
Resource records are 7200 ; retry
604800 ; expire
stored in configurationfiles 86400 ; ttl
)
(zone files) at name
servers. ;
mylab.com. IN NS PC4.mylab.com.
;
localhost A 127.0.0.1
Left Resource records for a PC4.mylab.com.
PC3.mylab.com.
A
A
10.0.1.41
10.0.1.31
zone: PC2.mylab.com. A 10.0.1.21
PC1.mylab.com. A 10.0.1.11
Resource Records
IP address (128.143.71.21)
(neon.tcpip-lab.edu)
3. DNSserver returns IP address to
Hostname
resolver which passes the IPaddress
to application
IP address (128.143.71.21)
authorized to answer thequery.
(neon.tcpip-lab.edu)
a) If yes, it responds.
Hostname
b) Otherwise, it will query other
name servers, starting at the
root tree
4. When the name server has the Name
server
answer it sends it to the resolver.
Recursive and Iterative Queries
There are two types of queries:
Recursive queries
Iterative (non-recursive) queries
query
cs.virginia.edu
The root sever sends a referral to the name server virginia.edu
“edu” server. Querying this server server
4th query:
yields a referral to the serverof neon.cs.virginia.edu
“virginia.edu”
Resolver IP address of
…and so on neon.cs.virginia.edu
cs.virginia.ed
server
Iterative queries root server
Name
In an iterative query, the nameserver server
sends a closest known authoritative
name server a referral to the root
query
This involves more work for the
resolver
virginia.edu
server
IP address of cs.virginia.ed
neon.cs.virginia.edu server
Caching
To reduce DNStraffic, name servers caches information on
domain name/IP addressmappings
When an entry for a query is in the cache, the server does not
contact other servers
Note: If an entry is sent from a cache, the reply from the
server is marked as“unauthoritative”