Configuring Domain Name System (DNS) servers

Name service clients

A machine running client software can be configured to handle resolution using DNS, /etc/hosts, or NIS, or some combination of these three methods in a specified order.

If DNS is used, the IP addresses of the DNS name servers are configured in the /etc/resolv.conf file. A client can nominate itself (using the localhost or loopback address, 127.0.0.1) as a name server if it is configured as a DNS name server. Remote DNS name service only should be configured if a computer has limited memory or CPU power. In this case, all queries will be answered by a name server running on another computer on the network. In practice, however, you will obtain better performance by configuring the local machine as a caching-only name server. The resolver invoked by client programs does not cache replies because these programs tend to be short lived. Because a name server caches replies, all clients can take advantage of the data in its cache. Having a local name server avoids network traffic and propagation delays on subsequent queries to resolve the same IP addresses or host names.

The minimal configuration of the /etc.resolv.conf file to allow a host to perform a DNS look up on itself is:

   nameserver	127.0.0.1


WARNING: For correct operation of the DNS Manager and other SCOadmin managers on a host that you are configuring remotely, there must also be an entry for the localhost address (127.0.0.1) in the /etc/hosts file on the remote host.

See ``The Client Manager interface'' for instructions on how to configure a name service client using the Client Manager.


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999