Networking Guide
Chapter 6, Configuring the Domain Name Service

Configuring a remote server

Configuring a remote server

  1. Create /etc/resolv.conf with the editor of your choice. For an annotated version of /etc/resolv.conf, with descriptions of each line, see ``DNS client configuration file''.

  2. Edit /etc/resolv.conf to include a domain or search entry for your host. Examples:
       domain subneta.mynet.COM
       search subneta.mynet.COM subnetb.mynet.COM mynet.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.mynet.COM are for addresses at subneta.mynet.COM, subnetb.mynet.COM, and mynet.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.mynet.COM would attempt to resolve addresses first in subneta.mynet.COM, then in mynet.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 132.147.118.1
       nameserver 132.147.246.25
    

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