Planning and Implementing a DNS Namespace

Host Name Resolution Overview

In networks running the TCP/IP protocol suite, IP address information is used to forward packet to the destination computer. The packets that are transmitted over the network contain the IP address of the computer sending the packet; and the IP address of the destination computer intended to receive the packet. The IP addresses of computers therefore have to be both unique and correct so that they can be forwarded to the correct destination. IP addresses contain the network address and the host address.
A host name is assigned to a computer to identify a host in a TCP/IP network. Host names are assigned to computers by administrators. The maximum length of a host name is 255 characters, and can consist of both alphabetic characters and numeric characters. A host name can be defined in a number of ways. The more common methods used are:

Name resolution has to occur whenever the host name is used to connect to a computer and not the IP addresses. Host name resolution resolves the host name to an IP address. This name resolution has to take place so that the IP address can be resolved to the hardware address for TCP/IP based communication to occur.

The common methods used to resolve host names are listed below:

You can configure a number of methods to resolve host names to IP addresses. You can specify the use of a DNS server, name resolution via the HOSTS file or with a DNS server, network broadcast, WINS server, and through LMHOSTS. When one method fails to resolve the host name to IP address, another method can be used. Only after each of the configured name resolution mechanisms fail to yield a host name to IP address mapping, does the specific IP address need to be provided to service the request.

DNS Overview

DNS is a hierarchically distributed database that creates hierarchical names that can be resolved to IP addresses. The IP addresses are then resolved to MAC addresses. DNS is the primary name registration and resolution service in Windows Server 2003. DNS provides a hierarchically distributed and scalable database; provides name registration, name resolution and service location for Windows 2000 and Windows Server 2003 clients; and locates domain controllers. The namespace used by DNS is a hierarchical namespace, or hierarchical system.

The DNS components and concepts are summarized below. While the remainder of this Article focuses on planning and implementing a DNS namespace, the DNS components and concepts listed below are used throughout the discussion.

Determining DNS Requirements for the Network

One of the initial steps in designing a DNS namespace is to determine the DNS requirements for your network. For any network user to access the Internet, a DNS server is needed. When it comes to accessing the Internet, there are two options available. You can implement and manage DNS servers within your environment or you can use the DNS servers of your ISPs.

The requirements for hosting an Internet domain are summarized below:

If you choose to implement and manage your own DNS servers, you are not dependent on a third party when changes need to be made. You can change the configuration of your DNS servers, manage security for your DNS environment, and add and delete resource records hosted in zones. While you can use the DNS servers of your ISP, modifying any aspect of DNS could become cumbersome and costly.

The requirements for hosting Internet servers are summarized below:

Once again, you can use and register your own domain or you can use the DNS servers of your ISP.

The requirements for using Active Directory and DNS are summarized below:

If you are planning to implement DNS name resolution for medium size and large size networks, it is recommended to deploy at least two DNS servers so that you can provide for fault tolerance.

To determine the route that your DNS namespace design should follow, you need to resolve the following issues:

Considerations for Creating Internet Domains

Domain names must be unique on the Internet. The public domain must be registered with the Internet Corporation for Assigned Names and Numbers (ICANN) through the use of an authorized registrar. This ensures that the public domain namespace remains unique. It is also important that an internal domain namespace be unique as well. The top-level domain names are basically used up already. Because of this, most organizations register a single second-level domain name and then use it for the purpose of hosting Internet servers.

If you cannot use the domain name which you want to, consider the following:

The methods in which you can deploy multiple sites on the Internet are:

Considerations for Creating Internal Domains

If you want to create internal domains, you can also create both domains and subdomains to mirror the structure of the organization. If you have an existing Active Directory structure, then the DNS namespace design for your internal network should correspond to your existing Active Directory directory service hierarchy.

The names which you select for your internal domains have to adhere to certain standards and rules:

If the internal namespace is for a network which accesses the Internet, a few additional domain name naming rules apply:

Designing a DNS Namespace that includes Internal and External Domains

If the DNS namespace which you have to design needs to consist of internal domains and external domains, use either of the following strategies:

The DNS Namespace Design and Networking Services Integration

Active Directory Integration
When DNS and Active Directory are integrated, the DNS server is used to locate the domain controllers in Active Directory domains. Active Directory provides a centralized repository of information, or data store that can securely manage the resources of an organization. Active Directory makes it possible for different types of information to be stored in a centralized distributed database. The Active Directory directory services ensure that network resources are available to, and can be accessed by users, applications and programs. Because all information stored in Active Directory is located in one centralized, distributed data store; administrative requirements are reduced, the availability of security information is increased, and there is an improvement in the structure of information.

The advantages of integrating DNS with Active Directory are summarized below:

DHCP Integration
If you have the Windows 2000 or Windows Server 2003 DHCP service installed, you can configure the DHCP server to register the A resource records and PTR records for DHCP enabled clients. DHCP can also be used to configure down-level clients as DHCP clients. You can set up the DHCP server for DNS integration using a few methods:

WINS Integration
When WINS and DNS are integrated, DNS is able to query the WINS server database on behalf of its clients for name resolution after the query cannot be resolved in DNS. WINS registers NetBIOS computer names, and stores these client name registrations in the WINS database. The registrations are used when clients query for host name resolution and service information. WINS can resolve NetBIOS names for local hosts and remote hosts.

The process that occurs to resolve names when DNS and WINS are integrated is illustrated below.

  1. The name resolution query is sent to the preferred DNS server.
  2. This preferred DNS server than passes the query to the authoritative DNS server for the particular zone.
  3. The authoritative DNS server sends the request for name resolution to its specified WINS lookup server.
  4. The specified WINS lookup server resolves the name into its associated IP address.
  5. The IP address is returned to the authoritative DNS server for particular zone.
  6. The authoritative DNS server returns the IP address to the preferred DNS server.
  7. The preferred DNS server returns the resolved query to the original client that sent the query for name resolution.

Determining DNS Zone Requirements

A standard primary zone typically includes the deployment of:

When determining zone requirements for your DNS design, consider the events that trigger zone transfers between primary and secondary DNS servers:

If you are going to be implementing Active Directory-integrated zones, you can choose between the following zone replication scope options:

Determining the Number of DNS Servers

The factors to consider when you plan the number of DNS servers needed for your environment are summarized below:

Determining DNS Server Placement

When you are determining where to locate your DNS servers, remember that placement of your DNS servers should: Ensure both DNS Server service and Active Directory directory service availability. A few recommendations and considerations for determining placement of your DNS servers are summarized below:

Determining DNS Server Roles

There are a number of DNS server roles that you can install if you are running Windows Server 2003. Each server role and its associated function are briefly discussed in the following section.

Authoritative name servers are name servers which obtain zone data from the local DNS database. You should deploy at least two authoritative name servers for each DNS zone that you plan to create.

The following types of authoritative name servers can be installed and deployed:

You can store zone information in Active directory if you are running Windows Server 2003 or Windows 2000. The Active Directory directory service ensures that zone information remains synchronized between the DNS servers.

In addition to authoritative DNS name servers, you can also install and configure the following DNS server roles:

When planning for deploying forwarders, consider the following:

How to create a DNS Namespace

  1. Insert the Windows 2003 Server CD-ROM into the CD-ROM drive.
  2. Click Start, Control Panel, and then select Add or Remove Programs.
  3. Click the Add/Remove Windows Components.
  4. Select Network Services from the list of components, and then select Details.
  5. Select the checkbox alongside Domain Name System (DNS) in the Network Services Subcomponents dialog box. Click OK.
  6. Click Next to install the DNS service.
  7. Click Finish.
  8. Click Start, Administrative Tools and then click DNS to open the DNS console.
  9. Click the This Computer option when you are prompted to connect to the DNS server, and then click OK.
  10. When the DNS console opens, right-click the DNS server name, and then select Configure a DNS server from the shortcut menu.
  11. 1
  12. The Configure a DNS Server Wizard starts.
  13. 1
  14. Click Next on the initial screen of the Configure a DNS Server Wizard.
  15. 1
  16. For the type of server to configure, click Create forward and reverse lookup zones and then click Next.
  17. 1
  18. Click the Yes, create a forward lookup zone now option to create the forward lookup zone immediately. Click Next.
  19. 1
  20. Select the Primary Zone and then click Next.
  21. 1
  22. Enter a name for your DNS zone, and click Next.
  23. 1
  24. Accept the default filename and click Next.
  25. 1
  26. Ensure that the Do not allow dynamic updates option is selected, and then click Next.
  27. 1
  28. To immediately create a reverse lookup zone, click the Yes, create a reverse lookup zone option. Click Next.
  29. 20. Select the Primary Zone type and then click Next. 2
  30. Enter network ID for the zone, and click Next.
  31. 2
  32. Accept the default filename for the reverse lookup zone file and click Next.
  33. 2
  34. Ensure that the Do not allow dynamic updates option is selected, and then click Next.
  35. 2
  36. Select the No, it should not forward queries option when prompted for information on forwarders. Click Next.
  37. 2
  38. Click Finish to create the DNS namespace.

Related Articles on DNS



Top 5 Free Networking Tools

Bookmark Planning and Implementing a DNS Namespace

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.