6. Creating and Editing NS Records
NS records, link the hostnames of nameservers to
their IP addresses. To create these records, inside the DNS Management
snap-in right-click the zone file in question and select Properties.
Then, select the Name Servers tab. You'll be greeted with the screen
shown in Figure 5.
The primary NS record is
displayed, as it was created by default when you first constructed the
zone. Click the Add button to insert a new NS record—for example, for a
secondary nameserver. In the box that appears, type in the new machine's
fully qualified domain name and click the Resolve button. Windows
Server 2003 uses a reverse lookup to determine the IP address of the
hostname you entered. If you agree with its finding, click the Add
button beside the IP address and the NS record will be entered. Click OK
twice to close.
7. Creating and Editing CNAME Records
Recall that CNAME
records map different hostnames to preexisting A records, allowing
multiple DNS names for a host. To create these records, right-click the hasselltech.net
node in the lefthand pane of the DNS Management snap-in and choose New
Alias (CNAME) from the context menu. The New Resource Record dialog box
appears, as shown in Figure 6.
Enter the aliased name of
the machine for which you're entering the record (this is the canonical
name), and then enter the fully qualified domain name of the host
you're aliasing. As you enter the CNAME, the fully qualified domain name
field just below will adjust to show the full hostname, including the
domain, to check your work.
Click OK to finish.
8. Creating and Editing MX Records
As you'll remember from
earlier in this chapter, MX records dictate how mail is delivered to a
specific DNS zone. To create these records, inside the DNS snap-in
right-click the hasselltech.net
node in the lefthand pane and choose New Mail Exchanger (MX) from the
context menu. The New Resource Record dialog box appears, as shown in Figure 7.
Enter the name of the
domain or zone for which you're entering the record, and then enter the
fully qualified domain name of the host to which mail for that domain or
zone should be delivered. As you enter the CNAME, the fully qualified
domain name field just below will adjust to show the full hostname,
including the domain, to check your work. Finally, in the Mail server
priority box, type the MX preference number that should apply to this
record.
Click OK to close.
9. Generating a Reverse Lookup Zone
You learned earlier in
this chapter that reverse lookup zones map IP addresses to their
corresponding hostnames. To create these records, inside the DNS
Management snap-in, right-click the Reverse Lookup Zones folder and
choose New Zone from the context menu. You'll be presented with the New
Zone Wizard. Click Next to bypass the introductory screen and you'll see
Figure 8. Then follow these steps:
Choose Primary zone, and click Next.
Enter the network numbers for your network in the Network ID field—for example, 192.168.0.0—and then click Next.
The Dynamic Updates page appears. Select to allow both insecure and secure updates, and then click Next.
Click Finish to complete the wizard.
Your reverse lookup zone has been created.
10. Creating and Editing PTR Records
Remember that PTR records
map IP addresses to their hostnames and are vital within a reverse
lookup zone. To create these records, right-click the appropriate
reverse lookup zone within the DNS Management snap-in and select New
Pointer (PTR) from the context menu. The New Resource Record dialog box
will appear, as shown in Figure 9.
On this screen, all you
need to do is enter the last dotted quad of a specific IP address, and
then enter the hostname to which that address should refer. The FQDN for
the reverse lookup record will fill in automatically.
Click OK to finish.