TCP/IP Configuration and Management Manual

Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual427132-004
3-38
Configuration Files for the Internet Environment
comes with your NonStop TCP/IP software is a prototype; you should customize this
file.
To override the default RESCONF file, use the environment variable
TCPIP^RESOLVER^NAME. This variable provides flexibility in selecting the
RESCONF file accessed for name resolution. The default RESCONF file is located on
$SYSTEM.ZTCPIP. The following example contains a TACL ADD DEFINE command
you can use to select a different RESCONF file:
2> ADD DEFINE =tcpip^resolver^name, FILE $data.user.resconf
Using the Domain Name resolver is the preferred way of resolving names on the
network. If a name server is not available on the network, use a HOSTS file, as
described earlier.
NETWORKS File
The NETWORKS file lists the names, numbers, and aliases of networks known to the
current host. This file converts an Internet network address to a symbolic name.
Applications use this file when they call a getnetbyaddr or a getnetbyname function.
The NETWORKS file included with the NonStop TCP/IP software is a prototype; you
should customize this file.
Each entry of the NETWORKS file has the following format:
network_name network_number [alias...]
where network_name is an alphanumeric name, network_number is the assigned
network number, and alias is an alphanumeric name.
The alias is optional for each network, and each network may have more than one
alias. The aliases for each network must be on the same entry line and separated by
spaces.
Example 3-17
shows the NETWORKS file. The pound sign (#) indicates a comment
line.
Example 3-17. NETWORKS File
# customer networks
#
loopback 127 testnet
sun-ether 192.9.200 sunether ethernet
sun-oldether 125 sunoldether
#
# Internet networks
#
arpanet 10 arpa
ucb-ether 46 ucbether