svcorder(4) TCP/IP 5.4R3.00 svcorder(4)
NAME
svcorder - file that specifies name/address resolution order
DESCRIPTION
Use the file /etc/svcorder to configure the order and the means to
perform name/address resolution. If the file /etc/svcorder exists,
it contains one record made up of one or two fields.
The first field determines the order in which different address
resolution methods are tried. This first field consists of any
combination of a subset of the following values separated by a colon
(:):
YP or yp for Network Information Services (NIS)
RES or res for the resolver
EHOSTS or ehosts for the /etc/hosts file
The second field is an optional comment. You separate the two fields
with white space, and begin a comment with a # character.
EXAMPLE
The following line specifies that address resolution should be
attempted by NIS first.
yp:ehosts:res
You can configure NIS so that it uses the domain name system (DNS)
when it cannot resolve a name/address pair after consulting its own
database. Note that DNS must be set up on your system before you can
use it. See Managing TCP/IP on the DG/UX System for more information
on DNS. You can configure NIS to use DNS in two ways. You can enter
the following command line:
make INTERDOMAIN=-b hosts
You can also change the "INTERDOMAIN=" line in the /etc/yp/Makefile
script to read "INTERDOMAIN=-b". In either case, make sure there is
no space before or after the equals (=) sign. The latter method
enables the domain name system automatically whenever a change is
made in the hosts map. For more information, see Chapter 3 in
Managing ONC/NFS and Its Facilities on the DG/UX System.
If NIS fails to resolve the address, /etc/hosts is consulted for name
address resolution. If /etc/hosts does not produce an answer, the
domain name system is consulted.
If the /etc/svcorder file does not exist, the order in which
different resolution methods are tried is as above.
FILES
/etc/svcorder
SEE ALSO
gethostbyname(3N), gethostbyaddr(3N), resolver(3C).
Licensed material--property of copyright holder(s) 1