Networking Concepts - Key Concepts of Domain Name System (DNS)
Networking Concepts - Key Concepts of Domain Name System (DNS)
When you implement Domain Name System (DNS) on your network, there are
several steps involved in configuring a DNS name server. These steps can
include:
Configuring a root DNS name server. When the DNS Server service is
installed, the Cache.dns file is created and stored in
systemroot\System32\DNS on a DNS name server. This file contains the
Internet Protocol (IP) address of the root-level DNS name servers for the
Internet. When an iterative query is performed, the DNS name server
contacts one of the root-level DNS name servers. If the DNS name server is
operating behind a proxy server or on an intranet, it must be configured as
the root-level DNS name server for the internal network.
Creating a subdomain in an existing zone. For large networks, you may
want to distribute the administrative workload and the query workload
among multiple DNS name servers. To do this, you create subdomains and
delegate authority to the DNS name servers for those subdomains.
Creating a zone database file. The information that is used to perform name
resolution is stored in a zone database file. Zone database files are used to
resolve, or translate, a host name to an IP address, or to resolve IP addresses
to host names. The entries that are used to perform the different types of
name resolution are stored in two different types of zone database files:
forward lookup zone database files and reverse lookup zone database files.
The entries that are stored in a database file are called resource records.
Configuring standard zones. After the DNS Server service is installed, you
can create a standard primary or standard secondary zone. The type of zone
that you create determines whether a DNS name server is a primary or
secondary DNS name server for a zone database file. Multiple copies of a
zone database file can be placed on multiple DNS name servers to provide
redundancy and to distribute workload. The primary DNS name server
maintains a zone database file and the secondary DNS name server receives
a copy of a zone database file.
After you create either a primary or a secondary zone, you select whether
the zone will be used for forward or reverse lookups. Forward lookup zones
are used to resolve host names to IP addresses, and reverse lookup zones are
used to resolve IP addresses to host names.
To distribute the workload of updating secondary DNS name servers, a
secondary DNS name server can be configured to receive updates to the
zone database file from either a primary or secondary DNS name server.
The server that provides the updated information to the secondary DNS
name server is called a master server. A single DNS name server can be
configured to act as a primary DNS name server for one zone, a secondary
DNS name server for a different zone, and a master server for any zone.
2 Key Concepts of DNS
...
...
org.
org. com.
com. contoso.
contoso. edu.
edu.
...
...
contoso.com.
The root DNS name server contains the resource records for all of the top-level
DNS name servers in the domain namespace (for example, the com domain).
The top-level DNS name servers contain the resource records for the second-
level DNS name servers (for example, the contoso.com domain). It is necessary
for you to configure a root DNS name server if:
Your intranet will not be connected to the Internet. Therefore, the root-level
domain is for the intranet only.
You are using a proxy service to gain access to the Internet. Create the root
of your local DNS namespace, and the proxy service will perform the
necessary translations and connections for Internet access.
Note The root DNS name servers on the Internet are listed in the Cache.dns
file on the root DNS name server that you configure.
There are two methods available for configuring the root DNS name server.
When you open the DNS console for the first time, the DNS Server
Configuration wizard will prompt you to configure the server as a root DNS
name server, and it will guide you through the process of configuring a DNS
name server.
After initial configuration of a DNS name server, you can change the server to a
root DNS name server (that will be the root of the tree for the Internet) by
creating a new standard primary forward lookup zone that is represented by a
period (.).
4 Key Concepts of DNS
org.
org. com.
com. edu.
edu. au.
au.
contoso.com.
training.contoso.com.
training.contoso.com.
Subdomain
Subdomain Second-Level
Second-Level Domain
Domain Top-Level
Top-Level Domain
Domain Root
Root
To delegate authority for a subdomain, open the DNS console and expand the
Forward Lookup Zones or Reverse Lookup Zones folder. Click the name of
the domain for which you want to delegate authority. Right-click the domain
name, point to New, and then click Delegation.
The Add New Delegation wizard will guide you through the process of
specifying the name of the domain to which you are delegating authority, and
adding the names and IP address of the server or servers that will host the
delegated zone.
6 Key Concepts of DNS
Zone
Zone
Database
Database
File
File
Zone
A zone database file contains the name resolution data for a zone, including
resource records that contain information for answering DNS queries. Resource
records contain various attributes, such as the fully qualified domain name
(FQDN) of a computer, an IP address, or an alias. There are various resource
record types that are defined for the DNS database.
The following table lists some of the more common types of resource records.
Resource record Purpose
SOA (start of Identifies the DNS name server that is the authoritative source of
authority) information for data within a domain.
NS (name server) Provides a list of DNS name servers that are assigned to a domain.
A (host) Resolves a host name to an IP address.
PTR (pointer) Resolves an IP address to a host name.
CNAME Creates an alias for a specified host name.
(canonical name)
SRV (service) Locates servers that host a particular service. For example, if a
client must find a server to validate logon requests, it can send a
query to a DNS name server that supports the use of SRV
resource records to obtain a list of domain controllers and
associated IP addresses.
Note SRV resource records are new in the DNS Server service in Microsoft®
Windows 2000®. For more information on SRV resource records, see RFC
2052 under Additional Reading on the Web page on the Student Materials
compact disc.
Key Concepts of DNS 7
The zone database file name is the zone name with a .dns extension (for
example, Contoso.com.dns). To migrate a zone from another server, you can
import the existing zone database file. You must place the existing file in the
systemroot\System32\DNS folder on the target computer before you create the
new zone.
Note Traditionally, zone database files are stored on DNS name servers. In
Microsoft Windows 2000, zone data can be stored in the Active Directory™
directory service rather than in a zone database file on a name server. In this
case, the zone is called an Active Directory integrated zone.
Zone database files contain the necessary information that a DNS name server
uses to perform two different tasks: resolving host names to IP addresses or
resolving IP addresses to host names. The zone lookup types that are associated
with these tasks are:
Forward lookup zones. Contain records that resolve a host name to an IP
address. The forward lookup zone answers forward lookup queries that
request the IP address of a server. You enable forward lookup queries when
you add a forward lookup zone. The A resource record is the most common
type of record that is used for DNS forward lookup zones.
Reverse lookup zones. Contain records that resolve an IP address to a host
name. The reverse lookup zone answers reverse lookup queries that request
the server name that is associated with a particular IP address. You enable
reverse lookup queries when you add a reverse lookup zone. Reverse lookup
zones use PTR resource records to register hosts by IP address.
8 Key Concepts of DNS
Zone A Zone B
Name Primary
Server Secondary
(master)
Computers that are running the DNS Server service can host standard primary
and standard secondary zones. You can configure DNS name servers to host:
One or more standard primary zones.
One or more standard secondary zones.
Any combination of standard primary and standard secondary zones.
For each zone, the server that maintains the standard primary zone database
files is called the primary server, and the servers that host the standard
secondary zone database files are called secondary servers. A DNS name server
can host the standard primary zone database file (as the primary server) for one
zone and the standard secondary zone database file (as the secondary server) for
another zone.
If you are creating a new zone, a standard primary zone must be created before
creating a standard secondary zone. To create a zone, open the DNS console,
right-click the name of the server to which you want to add the zone, and then
click Create a new Zone to start the Create New Zone wizard. The wizard
prompts you to select a zone type—either standard primary or standard
secondary—and specify the domain name for the zone.
Note To comply with RFC standards, the reverse lookup zone name requires
the in-addr.arpa domain suffix, which is a reserved domain to support reverse
lookup. For example, if the network uses the class B network ID of 172.16.0.0,
the reverse lookup zone name becomes 16.172.in-addr.arpa.
For more information on the in-addr.arpa domain suffix, see RFC 2317 under
Additional Reading on the Web page on the Student Materials compact disc.
Note You can automatically populate a reverse lookup zone when adding an A
resource record. To automatically populate a reverse lookup zone, select the
Create associated PTR record check box in the New Host dialog box.
10 Key Concepts of DNS
Note For more information on DNS Notify, see RFC 1996 under Additional
Reading on the Web page on the Student Materials compact disc.
Caching-Only Servers
Perform name resolution on behalf of clients and cache the results
Can be used to reduce DNS-related traffic across a WAN
Query
Result
Name Server
Result
You can change the type of queries that a caching-only server performs to
further reduce network traffic. There are two types of queries that can be
performed in DNS:
Iterative. A query made to a DNS name server, in which the requester
instructs the name server to return the best answer it can give based on its
cache or zone data. If the queried name server does not have an exact match
for the request, the best information it can provide is a pointer to an
authoritative name server in a lower level of the domain namespace. The
requester can then query the authoritative name server it was referred to.
The requester continues this process until it locates a name server that is
authoritative for the requested name, or until an error or time-out condition
is met.
Recursive. A query made to a DNS name server, in which the requester asks
the name server to assume the full workload and responsibility for providing
a complete answer to the query. The server will then perform separate
iterative queries to other servers (on behalf of the requester) to assist in
answering the recursive query.
Advanced...
OK Cancel
A DNS client (sometimes called a resolver) uses a DNS name server to resolve
queries and locate resources on TCP/IP networks. In Windows 2000,
configuring a computer as a DNS client involves only one configuration
parameter: the IP address of the DNS name server.
To configure a client to use a DNS name server for host name resolution, open
the Properties dialog box for the connection, and then open the Internet
Protocol (TCP/IP) Properties dialog box:
If you want DNS name server addresses to be provided by a DHCP server,
click Obtain DNS server address automatically.
If you want to manually configure an IP address for a DNS name server,
click Use the following DNS server addresses. Type the IP address of the
primary server in the Preferred DNS server box. If you are configuring a
second DNS name server, type the IP address of the additional DNS name
server in Alternate DNS server box.