host resolution configuration requirements for TCP/IP on Netware (generic)

By: Borland Staff

Abstract: host resolution configuration requirements for TCP/IP on Netware (generic)

Problem:
What files do I need to configure for Netware to be able to carryout host name resolution

Note:  You will need to have Netware Administrator proviledges on the Netware Server in order to see and manipulate files in the SYS:Etc directory

Solution:
You must always have a  SYS:EtcHosts file on your system.

At a minumum, it must contain the name and IP address of your Netware Server as well as the entry for the loopback driver.  Below is an example file from one of our Netware Servers (suplab4)

# ------------------------ beginning of file   (do not include this line) ----------------------------------------------
#
# SYS:ETCHOSTS
#
#	Mappings of host names and host aliases to IP address.
#
127.0.0.1		loopback lb localhost	# normal loopback address

206.291.371.284	suplab4

# ------------------------------- end of file (do not include this line) -------------------------------------------

The general format is    IP Address (dotted decimal format - left justified with no leading spaces)
                                           Tab or white space
                                            machine name  (in this case suplab4)

If you do not have a domain name server ( DNS,NIS,etc), then each other computer to which you want
to communicate must have an entry in this file [IP Address    machine name]

If you do have a domain name server on the network, you must also create the file

SYS:EtcResolv.cfg   on your machine pointing to the domain name server

Below is an example :

------------------------------------------------ before start of file - (do not include) -------------------------------------------
domain interbase.com
nameserver 296.432.285.291
------------------------------------------------ after end of file (do not include) ------------------------------------------------

The file must contain a minimum of 2 lines;

Line 1 starts with the key word   domain     followed by white space followed by your domain name.

Line 2 starts with the key word   nameserver  followed by white space followed by the IP address of your domain name server.

You may have multiple lines similar to line 2 if you have multiple name servers.

After you have set these files up, you should stop and restart your Netware Server in order to make sure that Netware reads these files.

You can use the Netware  ping  NLM on the server to verify that it can talk to other computers.

Server Response from: ETNASC01