Documentos de Académico
Documentos de Profesional
Documentos de Cultura
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:
DNS domains are
., edu, virginia.edu, cs.virginia.edu
neon.cs.virginia.edu
FULLY QUALIFIED DOMAIN NAME (FQDN):
Every node in the DNS domain tree can be identified by a unique
Fully Qualified Domain Name (FQDN). The FQDN gives the
position in the DNS tree.
In this, the label is terminated by a null string.
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 primary server
RESOURCE RECORDS
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 configuration files 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. DNS server returns IP address to
Hostname
resolver which passes the IP address
to application
IP address (128.143.71.21)
authorized to answer the query.
(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 server of neon.cs.virginia.edu
“virginia.edu”
Resolver IP address of
… and so on neon.cs.virginia.edu
cs.virginia.edu
server
Iterative queries root server
Name u
ed
In an iterative query, the name server server in ia . r
rg ve
.vi s er
sends a closest known authoritative . cs e
o n
n am
name server a referral to the root ne u
y:
query
o n u na
ne ed
This involves more work for the e ry: i n ia .
u g u
nd q vir rver i a .ed
2 o
t se i n
resolver fe rral . c s .vir
g
n
Re : neo virginia.edu
ry du
rd q u e ia . e
3 .v i rgin server server
cs e
rr a l to n am
e
Ref
Resolver 4th query:
neon.cs.virginia.edu
IP address of cs.virginia.edu
neon.cs.virginia.edu server
Caching
To reduce DNS traffic, name servers caches information on
domain name/IP address mappings
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”