DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Administering TCP/IP

Configuring the /etc/hosts file

To configure name service on a client using the /etc/hosts file:

  1. If the /etc/hosts file does not already exist, select Services -> Add -> Hosts database in the Client Manager.

    If the /etc/hosts file does already exist, click on /etc/hosts file in the services listed in the Client Manager, and then select Services -> Modify.

  2. To add an entry to the /etc/hosts file, click on Add, enter the IP address, hostname, and any alias names, then click on OK.

    To modify an entry in the /etc/hosts file, click on it in the list to select it, and then click on Modify. Click on OK to save your changes.

    To delete an entry in the /etc/hosts file, click on it in the list to select it, and then click on Delete.

  3. Click on OK to exit.


NOTE: This procedure modifies the file /etc/hosts. See hosts(SFF) for a description of the format of this file.

Entries for the host, including the loopback address, cannot be modified to prevent accidental deletion.



Next topic: Configuring a default route
Previous topic: Configuring a DNS client

© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007