Set Up DNS

Now that we have registered our domain name, we need to create a zone and set up the DNS records for our server. Let’s use the Microsoft DNS server that comes with WS03 for this. (Refer to Chapter 8 for instructions on installing DNS server.)

To create a forward lookup zone:

  1. Open the DNS MMC by choosing Start | Administrative Tools | DNS.

  2. Right-click Forward Lookup Zones, and choose Select New Zone.

  3. The New Zone Wizard pops up. Click Next.

  4. We want to create a primary zone, so choose that, and click Next.

  5. Type in the zone name (beer-brewers.com). Since our DNS server isn’t a domain controller, we won’t be storing it in Active Directory.

  6. The default zone filename is OK, so click Next.

  7. Choose whether or not you want to allow dynamic updates. It’s not important to update our records dynamically because they will change infrequently. Choose not to allow dynamic updates, and then click Next.

  8. Click Finish.

Now that we have a forward lookup zone, let’s create our DNS records. As you can see from Figure 19-1, the Start of Authority (SOA) and Name Server (NS) records are already populated. What we need are a couple of A records so people can access www.beer-brewers.com and test.beer-brewers.com.

click to expand
Figure 19-1: Our DNS zone

  1. Right-click the beer-brewers.com zone in the left pane, and choose New Host (A).

  2. The name of our host is “www,” since that’s what everyone uses on the web. Type in www in the name field, as shown in Figure 19-2.


    Figure 19-2: The New Host window for the www.beer-brewers.com zone

  3. Type in the IP address for this site—this is the IP address that is assigned to the server hosting IIS, which we chose previously. We will also assign this same IP address to the web site. For the WWW record, use the production IP address.

  4. We won’t create a Pointer Resource Record (PTR) for this record, since we aren’t hosting the reverse lookup zone for this IP block. We can send the IP address and PTR record name to our ISP to add a reverse zone entry later.

  5. Click Add Host.

  6. Click Done.

  7. Repeat these steps to create another A record for the test site. The Name of the Host Record for the test site will be “test.”

We now have created an A record in our zone that allows clients to use www as a host name. From now on, when people type in http://www.beer-brewers.com in their browser window, they’ll connect to our DNS server, which uses the IP address associated with that URL.




IIS 6(c) The Complete Reference
IIS 6: The Complete Reference
ISBN: 0072224959
EAN: 2147483647
Year: 2005
Pages: 193

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net