DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring the Domain Name Service

Configuring a remote server

  1. Create /etc/resolv.conf with the editor of your choice. For more information on the /etc/resolv.conf file, see the Name Server Operations Guide for BIND.

  2. Edit /etc/resolv.conf to include a domain or search entry for your host. Examples:
       domain subneta.your_company.COM
       search subneta.your_company.COM subnetb.your_company.COM your_company.COM
    
    If both the search and domain entries appear in the file, the entry listed second is ignored. Use the domain entry to set the local zone, or use the search entry to specify a nonstandard search order. The example shown would be valid if most of the lookup requests for your system at subneta.your_company.COM are for addresses at subneta.your_company.COM, subnetb.your_company.COM, and your_company.COM.


    NOTE: In previous releases of SCO systems, the resolver would automatically search up the domain hierarchy to resolve requests. For example, a resolver on a SCO system in the domain subneta.your_company.COM would attempt to resolve addresses first in subneta.your_company.COM, then in your_company.COM. To obtain this behavior on your SCO OpenServer Release 5 system, specify the search directive as shown in the previous example.

  3. Edit /etc/resolv.conf to add a nameserver list to query. Example:
       nameserver 10.0.118.1
       nameserver 10.0.246.25
    

  4. Test DNS by using nslookup to look up a remote name.


Next topic: Advanced DNS configuration
Previous topic: Configuring a secondary server

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003