Specifications
An example for /etc/host.conf is shown in File 3.
#
# /etc/host.conf
#
# We have named running
order hosts bind
# Allow multiple addrs
multi on
# End of host.conf
File 3: /etc/host.conf
/etc/nsswitch.conf
With the GNU C Library 2.0, the “Name Service Switch” (NSS) became
more important. See the man page for nsswitch.conf or, for more
details, The GNU C Library Reference Manual, Chapter "System Databases
and Name Service Switch". Refer to package libcinfo, series doc.
In the /etc/nsswitch.conf file, the order of certain data is defined.
An example of nsswitch.conf is shown in File 4. Comments are pre-
ceded by ‘#’ signs. Here, for instance, the entry under “database”
hosts means that a request is sent to /etc/hosts (files) via DNS
(see A on page 157).
#
# /etc/nsswitch.conf
#
passwd: compat
group: compat
hosts: files dns
networks: files dns
services: db files
protocols: db files
netgroup: files
File 4: /etc/nsswitch.conf
26 Manual Network Configuration










