This article is a step-by-step guide to creating a Domain
Name System (DNS) zone for a new domain.
Note This article does not apply to Active Directory-integrated DNS zones.
For additional information about how to setup DNS for Active Directory in Microsoft Windows Server 2003, click the following article numbers to view the articles in the Microsoft Knowledge Base:
816101
(http://support.microsoft.com/kb/816101/
)
HOWTO: Convert DNS Primary Server to Active Directory Integrated
323418
(http://support.microsoft.com/kb/323418/
)
HOW TO: Integrate DNS with an Existing DNS Infrastructure If Active Directory Is Enabled in Windows Server 2003
324753
(http://support.microsoft.com/kb/324753/
)
HOW TO: Create an Active Directory Server in Windows Server 2003
Click the DNS Server object for your server in the left pane of the console, and then expand the server object to expand the tree.
Expand Forward Lookup Zones.
Under Forward Lookup Zones, right-click the zone that you want (for example, example.com), and then click Properties.
In the Allow dynamic updates list, click Yes.
Click the Start of Authority (SOA)
tab.
In the Responsible person box, type the
e-mail address that you want (in the format of "username.domain.com"). For
example, if the e-mail address is
support@example.com, type
support.example.com.
Click the DNS Server object for your server in the left pane of the console, and then expand the server object to expand the tree.
Expand Reverse Lookup Zones.
Right-click Reverse Lookup Zones, and then click New Zone. The New Zone Wizard starts. Click Next to continue.
Click Primary zone, and then click Next.
In the Network ID box, type the network ID. For example, type
192.168.0, and then click Next.
NOTE: The network ID is that portion of the TCP/IP address that
pertains to the network.
For additional information about TCP/IP
networks, click the article number below to view the article in the Microsoft
Knowledge Base:
164015
(http://support.microsoft.com/kb/164015/EN-US/
)
Understanding TCP/IP Addressing and Subnetting Basics
On the Zone File page, click Next
Click Next.
Click Finish.
The new zone is listed under Reverse Lookup Zones in the DNS tree.
Click the DNS Server object for your server in the left pane of the console, and then expand the server object to expand the tree.
Expand Reverse Lookup Zones.
Under Reverse Lookup Zones, right-click the zone that you want (for example,
102.168.0.x Subnet), and then click Properties.
In the Allow dynamic updates list, click Yes.
Click the Start of Authority (SOA)
tab.
In the Responsible person box, type the
e-mail address that you want (in the format of "username.domain.com"). For
example, if the e-mail address is
support@example.com, type
support.example.com.
Click Apply, and then click OK.
NOTE: When you create the forward and reverse lookup zones, the DNS
service automatically creates an "A" record for the DNS server. However, it
does not create a PTR record, or reverse lookup record, for the DNS
server.
To create a PTR record for the DNS server:
Right-click the reverse lookup zone (for example,
192.168.0.x Subnet), and then click New Pointer (PTR).
In the Host IP number box, type the host
portion of the DNS server IP address. For example, if the DNS server is on a
"C" class network and has an IP address of 192.168.0.10, the host portion of
the IP address is 10. In this case, type 10.
In the Host name box, type the host name
of the DNS server. For example, type
dnsserv.example.com.
Click the DNS Server object for your server in the left pane of the console, and then expand the server object to expand the tree.
Expand Forward Lookup Zones.
Under Forward Lookup Zones, right-click the zone that you want (for example, example.com), and then click New Host (A).
In the Name (uses parent domain name if
blank) box, type the name of the host that you want to add. For
example, if you want to add a host record for a Web server, type
www.
In the IP address box, type the IP address
of the host that you want to add. For example, type
192.168.0.100.
Select the Create associated pointer (PTR)
record check box, and then click Add Host. You receive a message similar to the following:
The host record www.example.com was successfully created.
A CNAME (or "Canonical Name") is an alias or an additional host
name that is resolved to the IP address of an existing host computer in the DNS
namespace. For example, if you use the same computer as both a Web server and
an FTP server, you may want to resolve both the WWW host name and the FTP host
name to the same IP address. Using a CNAME, you can resolve both names to the
same IP address.
To create a CNAME:
Start the DNS snap-in.
Click the DNS Server object for your server in the left pane of the console, and then expand the server object to expand the tree.
Expand Forward Lookup Zones.
Under Forward Lookup Zones, right-click the zone that you want (for example, example.com), and then click New Alias (CNAME).
In the Alias name box, type the alias that
you want. For example, type ftp.
In the Fully qualified name (FQDN) for target
host box, type the fully qualified host name of the host computer that
you want. For example, type
www.example.com, and then
click OK.
An MX (or "Mail Exchanger") record is used to identify a host
computer as a Simple Mail Transport Protocol (SMTP)/Post Office Protocol (POP3)
server. To add an MX record, follow these steps. Note that you must first
create the "A" record for the mail server host.
Start the DNS snap-in.
Click the DNS Server object for your server in the left pane of the console, and then expand the server object to expand the tree.
Expand Forward Lookup Zones.
Right-click the zone that you want (for example,
example.com), and then click New Mail Exchanger (MX).
In the Fully qualified domain name (FQDN) of mail
server box, type the fully qualified domain name of the host computer
that acts as the mail server. For example, type
mail.example.com.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
323417
(http://support.microsoft.com/kb/323417/
)
HOW TO: Integrate Windows Server 2003 DNS with an Existing DNS Infrastructure in Windows Server 2003
323380
(http://support.microsoft.com/kb/323380/
)
HOW TO: Configure DNS for Internet Access in Windows Server 2003
For additional information about installing and configuring
DNS, click the following article number to view the article in the Microsoft Knowledge Base:
172953
(http://support.microsoft.com/kb/172953/
)
HOWTO: Populate DBGrid from Crosstab Parameter Query
238797
(http://support.microsoft.com/kb/238797/
)
Microsoft DNS Server Installation and Configuration Document Available on Windows NT FTP Site