Professional Documents
Culture Documents
Root Domain
A-Z
a-z
0-9
Hyphen (-)
Root “.”
Resource
Record
.com
.edu
Resource
Record
A query is a request for name resolution to a DNS server. There are two
types of queries: recursive and iterative
DNS clients and DNS servers both initiate queries for name
resolution
An authoritative DNS server for the namespace of the query will:
Check the cache, check the zone, and return the requested IP
address
A non-authoritative DNS server for the namespace of the query
will either:
Forward the unresolvable query to a specific query server
called a Forwarder
Use root hints to locate an answer for the query
How Recursive Queries Work
A recursive query is a query made to a DNS server, in which the DNS client
asks the DNS server to provide a complete answer to the query
172.16.64.11 Database
Root hints are DNS resource records stored on a DNS server that list the
IP addresses for the DNS root servers
Cluster of Cluster of
DNS Servers Root (.) Servers
Root Hints
com
DNS Server
Computer1 microsoft
How Iterative Queries Work
An iterative query is a query made to a DNS server in which the DNS client
requests the best answer that the DNS server can provide without seeking further
help from other DNS servers. The result of an iterative query is often a referral to
another DNS server lower in the DNS tree
Iterative Query
Local Root Hint (.)
Ask .com 1
DNS Server
Iterative
Query
Ask nw
ders or
.com
traders .com
wtra query f
.com
2
Itera
1
mai ursive
64.1
tive
Auth Que
ry
l1.n
orita
.16.
tive R
Rec
espo
172
nse
3
Computer1 nwtraders.com
How Forwarders Work
Iterative Query
Forwarder Root Hint (.)
Ask .com
Iterative
Query
ry
Ask nw
ue
traders .com
eQ
.11
.com
siv
.64
cur
Itera
.16
tive
Re
Que
172
Auth ry
orita
172.1 tive R
6. 64.11 espo
nse
Recu
r
mail1 sive query
.nwtr nwtraders.com
Local aders for
.com Computer1
DNS Server
How DNS Server Caching Works
Caching Table
Host Name IP Address TTL
clientA.contoso.msft. 192.168.8.44 28 seconds
Where’s
ClientA Client
is at
192.168.8.44
A?
ClientA
Client1
ClientA Client
Where’s is at
Client2 192.168.8.44
A?
Namespace: training.nwtraders.msft
DNS Server Resource records for the zone
training.nwtraders.msft
Host name IP address
DNS ClientA 192.168.2.45
Zone File: DNS ClientB 192.168.2.46
Training.nwtraders.msft.dns DNS ClientC 192.168.2.47
DNS ClientC
DNS ClientA DNS ClientB
A resource record (RR) is a standard DNS database structure containing information used
to process DNS queries
A zone is a portion of the DNS database that contains the resource records with the owner
names that belong to the contiguous portion of the DNS namespace
What Are Resource Records and Record Types?
Nwtraders
Zones Description
Read/Write
Read/write copy of a DNS database
Primary
Read-Only
Read-only copy of a DNS database
Secondary
Copy of
limited
records
Copy of a zone containing limited records
Stub
How to Change a DNS Zone Type
Namespace: training.nwtraders.msft.
DNS Client1 192.168.2.45
DNS Server Authorized Forward DNS Client2 192.168.2.46
for training Training
zone
DNS Client3 192.168.2.47
192.168.2.46 = ?
DNS Client3
DNS Client1
DNS Client2
How to Configure Forward and Reverse Lookup Zones
If a single DNS server is used and that server is not responding, queries for names in the
zone can fail.
DNS database is available from more than one DNS server on the network to provide
availability and fault tolerance when resolving name queries.
For additional servers to host a zone, zone transfers are required to replicate and
synchronize all copies of the zone used at each server configured to host the zone
• When a new DNS server is added to the network and is configured as a new secondary
server for an existing zone, it performs a full initial transfer of the zone to obtain and
replicate a full copy of resource records for the zone.
• When the zone requires updating after changes are made to the zone, a fully zone
transfer is used.
How DNS Zone Transfers Work
In earlier DNS implementations, any request for an update of zone data required
a full transfer of the entire zone database using an AXFR query
For DNS server running Windows Server 2003, the DNS service supports
incremental zone transfer
• With incremental transfer, an alternate query type (IXFR) can be used instead
• This allows the secondary server to pull only those zone changes it needs to
synchronize its copy of the zone with its source
• Differences between the source and replicated versions of the zone are first determined
• If the zones are identified to be the same version -- as indicated by the serial
number field in the start of authority (SOA) resource record of each zone -- no
transfer is made
• If the serial number for the zone at the source is greater than at the requesting
secondary server, a transfer is made of only those changes to resource records
(RRs) for each incremental version of the zone
The incremental transfer process requires less traffic on a network and zone transfers
are completed much faster.
How DNS Zone Transfers Work
Resource record is
Destination Server 1 updated Source Server
SOA serial number is
2 updated
3 DNS notify
4 Zone transfer
1
2
Window Server 2003 IP Address Lease DHCP Down-
Running DHCP level Client
How to Configure DNS Manual and Dynamic Updates
A secure dynamic update is a process in which a client submits a dynamic update request
to a DNS server, and the server attempts the update only if the client can prove its identity
and has the proper credentials to make the update
1. The preferred
DNS server is
the one that the
client tries first
Suffix Selection
option Domain suffix Name query = server1
search list
server1.sales.south.nwtraders.com
server1.south.nwtraders.com
server1.nwtraders.com
Connection
Specific Suffix
How to Configure a DNS Client
Namespace: training.nwtraders.msft
DNS server
The administrator, at the
nwtraders.com level of the
namespace, delegates authority
for training.nwtraders.com and
offloads administration of DNS for
that part of the namespace training.nwtraders.msft
Delegation is the process of assigning authority over child domains in your DNS
namespace to another entity by adding records in the DNS database
How to Delegate a Sub-domain to a DNS Zone