Can you remember the IP addresses of your favorite Web sites or do you find it easier to remember www.somesite.com? If you’re like most people, it’s much easier to remember a name than a cryptic address. Domain Name System (DNS) matches names to IP addresses, making navigation on the Internet or your company’s intranet much easier for everyone. In this Daily Drill Down, I’ll explain some of the components of DNS and show you how to configure DNS for your network.
How DNS works
The directory structure of DNS is very similar to the inverted tree design in NDS. The top of the structure is called the root. Underneath the root are the top-level domains, such as .com, .edu, .gov, .net, and so on. Next come company or organization domains, followed by other subdomains of the organization. From this structure come familiar names such as novell.com, support.novell.com, and education.novell.com.
The pieces of the DNS puzzle
The DNS database is stored on file servers that are running special software. These DNS servers—also called name servers—store copies, or replicas, of the zones that make up the DNS database. There are two types of name servers: primary and secondary.
Creating a DNS server
Okay, now that you know what DNS is, how do you deploy it on your NetWare server? For the remainder of this Daily Drill Down, I’ll show you how. While your network may be much more complex than the one shown here, the principles of DNS remain the same.
Figure A |
Select DNS Server from the Create New Record dialog box in DNS/DHCP Manager to create a DNS server. |
Creating DNS Zone objects
The next object that you must configure is the DNS Zone object. Begin by highlighting All Zones. Click Create and select Zone. This brings up the Create Zone window, which allows you to configure the zone. Select Create New Zone, browse to the appropriate NDS Context, and enter the Zone Domain Name, which is the organization domain name (novell.com, for example).
Creating resource records
The next step is to create an A resource record for the DNS server. Highlight the new zone that was created in the last step, click Create, and select Resource Record. As shown in Figure E, you must enter the DNS server name in the Host Name field, ensure that an A record is selected, and then enter the IP address of the DNS server.
Figure E |
When you create an A resource record, you must enter the DNS server information in these fields. |
The IN-ADDR.ARPA zone
To provide IP-address-to-name-resolution, you must create an IN-ADDR.ARPA zone. To do this, highlight All Zones, click Create, and select Zone. Select IN-ADDR.ARPA, and browse to the container where the DNS server resides. In the Zone Domain Name field, enter the first octet of the DNS server’s IP address.
Time to start the DNS server and force the zone transfer
After you’ve created the basic records for your server, it’s time to turn your attention to the file server. Here you must force a zone transfer for the two newly created zones. Exit the DNS/DHCP Management Console before proceeding.
To force a zone transfer for the organization domain zone, type the following command at your server’s console prompt, substituting your domain name for rhythm.com:
named –zi rhythm.com
You can watch the zone transfer take place by toggling to the NAMED console screen. After the zone in has completed, you can perform a zone transfer for the IN-ADDR.ARPA zone. The command is the same, but don’t forget to use your domain name.
Named –zi 192.in-addr.arpa
Making the DNS server a primary server
Now that you’ve completed the zone transfers, it’s time to make your DNS server the primary DNS server. Start things off by making the DNS server the organization zone’s primary DNS server.
Configuring the DHCP server for DNS
After you’ve enabled a DNS server on your NetWare server, you can also use the DHCP server we discussed in our previous Daily Drill Down to supply DNS information to your clients. To do this, you must configure the DHCP server to work with the DNS server.
Trying it out
After you complete all these procedures, your network should be able to provide DNS services. Before trying out DNS, however, you should verify that both NAMED and DHCPSRVR are loaded on the file server. It’s not a bad idea to unload and load both of these NLMs to ensure that the correct configuration is in active memory. You should also ensure that both load commands have been added to the file server’s Autoexec.ncf file so that DNS and DHCP service will be started again when the server is rebooted.
Wrapping it up
Configuring DNS can be a very complex and confusing project. There are many pieces to this puzzle, and all of them must be configured correctly. You are also going to be using a new utility and learning new terminology. I strongly recommend that you set up a simple test network and use it to learn how DNS and the DNS/DHCP Manager work. Only when you’re familiar with Novell’s DNS product should you attempt to implement it on a production network.
With that said, I hope you decide to implement DNS services on your network. Once it’s configured and running correctly, you and your customers should enjoy the services that this product provides.
The authors and editors have taken care in preparation of the content contained herein but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for any damages. Always have a verified backup before making any changes.