10.4;nmconfig , revision 2.0, 92/02/09
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.
Typically, nmconfig is invoked in the /etc/rc.local file at boot time to
define the method of name resolution. If nmconfig is not invoked at boot
time, /etc/hosts is used for name resolution by default. nmconfig may
also be run from the command line to determine or change the current
method of name resolution.
OPTIONS
-h hosts-type
Specify method for resolving hostnames and addresses.
hosts-type may be either hostent_ascii or hostent_bind. Use
the hostent_ascii option to specify name resolution by lookup
in /etc/hosts (or the hashed version of /etc/hosts, if
available). Use the hostent_bind option to enable name
resolution by the named server.
-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.