10.2;nmconfig , revision 2.0, 89/03/30
nmconfig -configure name resolution
usage: nmconfig [ -h <hosts-type> ] [ -n <networks-type> ]
[ -s services-type ] [ -p protocols-type ] [-l]
DESCRIPTION
nmconfig is a Domain/OS extension that enables different methods of name
resolution for hosts, networks, protocols, and services. Domain/OS
implements each name resolution method as a type manager (with the same
name as the /etc/nmconfig option). /etc/nmconfig sets the correct
parameters so that when needed, the correct type manager can be loaded
and executed.
In many cases, you do not need to run nmconfig. If you do not run it,
the ascii files are used automatically for name resolution. nmconfig
must be used at boot time to define name resolution methods before
starting any communications processes.
OPTIONS
-h hosts-type
Specify method for resolving hostnames and addresses. By
default, hosts-type is hostent_ascii, so the host-address
resolution is performed by lookup in /etc/hosts (or the hashed
version of /etc/hosts, if available). Use nmconfig with the
hostent_bind option to enable the named server by uncommenting
the appropriate lines in the rc.local file.
-n networks-type
Specify method for resolving network names and network
addresses. Currently, the only networks-type available is
netent_ascii, which uses the /etc/networks file.
-p protocols-type
Specify method used for resolving protocols names and protocol
numbers. Currently, the only protocols-type available is
protoent_ascii, which uses the /etc/protocols file.
-s services-type
Specify method used for resolving service names and their
well-known port numbers. Currently, the only services-type
available is servent_ascii, which uses the /etc/services file.
-l List the methods of name resolution currently enabled on the
node.
SEE ALSO
named, rc;
Configuring and Managing TCP/IP.