[Previous] [Next]
DNS is most commonly associated with the Internet. However, private networks use DNS extensively to resolve computer names and to locate computers within their local networks and the Internet. DNS provides the following benefits:
NOTE
For more information on DNS, see RFC 1034 and RFC 1035. A Request for Comment (RFC) is a published document on a standard, protocol, or other information pertaining to the operation of the Internet. To read the text of these RFCs, use your Web browser to search for "RFC 1034" and "RFC 1035."
After this lesson, you will be able to
- Explain the function of DNS and its components.
Estimated lesson time: 15 minutes
The domain name space is the naming scheme that provides the hierarchical structure for the DNS database. Each node represents a partition of the DNS database. These nodes are referred to as domains.
The DNS database is indexed by name; therefore, each domain must have a name. As you add domains to the hierarchy, the name of the parent domain is appended to its child domain (called a subdomain). Consequently, a domain's name identifies its position in the hierarchy. For example, in Figure 8.1, the domain name
sales.microsoft.com
identifies the sales domain as a subdomain of the microsoft.com domain and microsoft as a subdomain of the com domain. The hierarchical structure of the domain name space consists of a root domain, top-level domains, second-level domains, and host names.
NOTE
The term domain, in the context of DNS, is not related to domain as used in Microsoft Windows 2000's directory services based on Active Directory technology. A Windows 2000 domain is a grouping of computers and devices that are administered as a unit.
Figure 8.1 The hierarchical structure of a domain name space
The root domain is at the top of the hierarchy and is represented as a period (.). The Internet root domain is managed by several organizations, including Network Solutions, Inc.
Top-level domains are two- or three-character name codes. Top-level domains are arranged by organization type or geographic location. Table 8.1 provides some examples of top-level domain names.
Table 8.1 Top-Level Domains
Top-level domain | Description |
---|---|
gov | Government organizations |
com | Commercial organizations |
edu | Educational institutions |
org | Noncommercial organizations |
au | Country code of Australia |
Top-level domains can contain second-level domains and host names.
Organizations, such as Network Solutions, Inc., assign and register second-level domains to individuals and organizations for the Internet. A second-level name has two name parts: a top-level name and a unique second-level name. Table 8.2 provides some examples of second-level domains.
Table 8.2 Second-Level Domains
Second-level domain | Description |
---|---|
Ed.gov | United States Department of Education |
Microsoft.com | Microsoft Corporation |
Stanford.edu | Stanford University |
W3.org | World Wide Web Consortium |
Pm.gov.au | Prime Minister of Australia |
Host names refer to specific computers on the Internet or a private network. For example, in Figure 8.1, Computer1 is a host name. A host name is the leftmost portion of a fully qualified domain name (FQDN), which describes the exact position of a host within the domain hierarchy. In Figure 8.1, Computer1.sales.microsoft.com. (including the end period, which represents the root domain) is an FQDN.
DNS uses a host's FQDN to resolve a name to an IP address.
NOTE
The host name doesn't have to be the same as the computer name. By default, TCP/IP setup uses the computer name for the host name, replacing illegal characters, such as the underscore (_), with a hyphen (-). For the accepted domain naming conventions, see RFC 1035.
When you create a domain name space, consider the following domain guidelines and standard naming conventions:
NOTE
Use Unicode characters only if all servers running the DNS Service in your environment support Unicode. For more information on the Unicode character set, read RFC 2044 by searching for "RFC 2044" with your Web browser.
A zone represents a discrete portion of the domain name space. Zones provide a way to partition the domain name space into manageable sections.
Figure 8.2 A domain name space divided into zones
The name-to-IP address mappings for a zone are stored in the zone database file. Each zone is anchored to a specific domain, which is referred to as the zone's root domain. The zone database file doesn't necessarily contain information for all subdomains of the zone's root domain, only those subdomains within the zone.
In Figure 8.2, the root domain for Zone1 is microsoft.com, and its zone file contains the name-to-IP address mappings for the microsoft and sales domains. The root domain for Zone2 is development, and its zone file contains the name-to-IP address mappings for the development domain only. The zone file for Zone1 doesn't contain the name-to-IP address mappings for the development domain, although development is a subdomain of the microsoft domain.
A DNS name server stores the zone database file. Name servers can store data for one zone or multiple zones. A name server is said to have authority for the domain name space that the zone encompasses.
One name server contains the master zone database file, referred to as the primary zone database file, for the specified zone. As a result, there must be at least one name server for a zone. Changes to a zone, such as adding domains or hosts, are performed on the server that contains the primary zone database file.
Multiple name servers act as a backup to the name server containing the primary zone database file. Multiple name servers provide the following advantages:
DNS is most commonly associated with the Internet. However, many private networks also use DNS to resolve computer names and to locate computers within their local networks and the Internet. In this lesson, you learned that some of the benefits that DNS provides include providing user-friendly DNS names that are less likely to change than IP addresses, and allowing users to connect to local servers by using the same naming convention as the Internet.
You also learned that the domain name space is the naming scheme that provides the hierarchical structure for the DNS database. The DNS database is indexed by name, so each domain (node) must have a name. The hierarchical structure of the domain name space consists of a root domain, top-level domains, second-level domains, and host names. Host names refer to specific computers on the Internet or a private network. A host name is the leftmost portion of a fully qualified domain name (FQDN), which describes the exact position of a host within the domain hierarchy.
Finally, you learned about the following naming guidelines for domains: limit the number of domain levels, use unique names, and use simple names. Zones provide a way to divide the domain name space into smaller sections that represent a discrete portion of the domain name space. You also learned that a DNS name server stores the zone database file, that the zone database file is replicated, and how to configure these zone transfers.