
current glibc programs, refer to the settings in
/etc/nsswitch.conf
. A parameter
must always stand alone in its own line. Comments are preceded by a
#
sign.
Table 30.6,
“Parameters for /etc/host.conf”
(page 587) shows the parameters available. A sample
/etc/host.conf
is shown in
Example 30.8, “
/etc/host.conf
”
(page 587).
Table 30.6
Parameters for /etc/host.conf
Specifies in which order the services are accessed for the name
resolution. Available arguments are (separated by blank spaces
or commas):
order hosts, bind
hosts: Searches the
/etc/hosts
file
bind: Accesses a name server
nis: Uses NIS
Defines if a host entered in
/etc/hosts
can have multiple
IP addresses.
multi on/off
These parameters influence the name server spoofing, but,
apart from that, do not exert any influence on the network
configuration.
nospoof on
spoofalert on/off
The specified domain name is separated from the hostname
after hostname resolution (as long as the hostname includes
trim domainname
the domain name). This option is useful if only names from
the local domain are in the
/etc/hosts
file, but should still
be recognized with the attached domain names.
Example 30.8
/etc/host.conf
# We have named running
order hosts bind
# Allow multiple addrs
multi on
Basic Networking
587
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......