Chapter 2: Configuring TCP/IP

Previous Page Next Page

2.4.3 Enable DNS Client Lookups

If you are using DNS on your network, you will need to enable DNS client lookups on this system. This is easily accomplished by creating or editing a text file called RESOLV.CFG, which is stored in the SYS:/ETC directory. This file contains two, three or four lines which tell the TCP/IP protocol and applications the DNS domain they are associated with, and the TCP/IP addresses of the DNS servers they should use for queries.

The first line of the RESOLV.CFG file simply informs the local system of the DNS domain that it is associated with. This is accomplished by using the "DOMAIN" directive. An example DOMAIN entry based on the sample configuration form would look like the following:

This line tells the system that it is in the UNOVERICA.COM domain. Whenever this system issues a query for a host, it will automatically append this domain name to any short hostnames (such as GREYWOLF, rather than GREYWOLF.UNOVERICA.COM). This line will also inform the DNS server which domain the request is for, as a DNS server can easily provide lookup services for multiple domains without any problems.

The second, third and fourth lines all provide pointers to the local system, telling it the IP addresses of the various DNS servers available on the network. This is achieved through the use of the "NAMESERVER" directive. If you only have one DNS server, then you would only enter one NAMESERVER entry here. If you have two DNS servers, then you would only enter two NAMESERVER entries here. If you have more than three DNS servers on your network, then you need to determine which three you wish to use, as the RESOLV.CFG file can only support three NAMESERVER entries. Example NAMESERVER entries based on the sample configuration form would look like the following:

These entries tell the local system the IP addresses of DNS servers capable of responding to its DNS queries. If the first system were unavailable for whatever reason, the client would automatically re-issue the query to the second entry. If a third entry were available, this system would also be used in case the first and second entries failed to respond.

NOTE: You should not give WRITE permissions to the RESOLV.CFG file to anybody except supervisor-equivalent users. If someone mistakenly overwrites or otherwise corrupts this file, you will have difficulties with your TCP/IP installation.

STEP: To begin the Unoverica Message Transport installation process, go to Chapter 3: Installing and Starting Unoverica Message Transport.

Previous Page Next Page

Copyright 1997 Unoverica Corporation, All Rights Reserved page
Send comments to docs@unoverica.com