host.conf.5: ffix + tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-08-20 10:06:34 +02:00
parent b794d85ab1
commit 3845a1207c
1 changed files with 9 additions and 6 deletions

View File

@ -44,8 +44,9 @@ resolver library will automatically trim the given domain name from the
end of any hostname resolved via DNS. end of any hostname resolved via DNS.
This is intended for use with This is intended for use with
local hosts and domains. local hosts and domains.
(Related note: trim will not affect hostnames (Related note:
gathered via NIS or the hosts file. .I trim
will not affect hostnames gathered via NIS or the hosts file.
Care should be taken to Care should be taken to
ensure that the first hostname for each entry in the hosts file is ensure that the first hostname for each entry in the hosts file is
fully qualified or unqualified, as appropriate for the local fully qualified or unqualified, as appropriate for the local
@ -127,7 +128,7 @@ A new command
and a new environment variable and a new environment variable
.B RESOLV_SPOOF_CHECK .B RESOLV_SPOOF_CHECK
can take arguments like can take arguments like
.IR off ", " nowarn " and " warn . .IR off ", " nowarn ", and " warn .
Line comments can appear anywhere and not only at the beginning of a line. Line comments can appear anywhere and not only at the beginning of a line.
.SS Historical .SS Historical
The The
@ -143,7 +144,9 @@ Valid methods are
.IR bind ", " hosts ", and " nis . .IR bind ", " hosts ", and " nis .
.TP .TP
.B RESOLV_SERV_ORDER .B RESOLV_SERV_ORDER
Overrides the order command. Overrides the
.I order
command.
.PP .PP
Since glibc 2.0.7, the following keywords and environment variable have Since glibc 2.0.7, the following keywords and environment variable have
been recognized but never implemented: been recognized but never implemented:
@ -197,12 +200,12 @@ Setting this option to anything else is equal to setting it to
.TP .TP
.B RESOLV_SPOOF_CHECK .B RESOLV_SPOOF_CHECK
Overrides the Overrides the
.IR nospoof ", " spoofalert, " and " spoof .IR nospoof ", " spoofalert ", and " spoof
commands in the same way as the commands in the same way as the
.I spoof .I spoof
command is parsed. command is parsed.
Valid values are Valid values are
.IR off ", " nowarn, " and " warn . .IR off ", " nowarn ", and " warn .
.SH SEE ALSO .SH SEE ALSO
.BR gethostbyname (3), .BR gethostbyname (3),
.BR hosts (5), .BR hosts (5),