1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
|
.\" Copyright (c) 1997 Martin Schulze (joey@infodrom.north.de)
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
.\" USA.
.\"
.\" Much of the text is copied from the manpage of resolv+(8).
.\"
.\" 2003-08-23 Martin Schulze <joey@infodrom.org> Updated according to glibc 2.3.2
.\"
.\" Japanese Version Copyright (c) 2000-2003 Yuichi SATO
.\" all rights reserved.
.\" Translated Sun Sep 24 06:18:14 JST 2000
.\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
.\" Updated & Modified Sun Sep 7 17:51:03 JST 2003
.\" by Yuichi SATO <ysato444@yahoo.co.jp>
.\"
.\"WORD: method
.\"WORD: trim
.\"WORD: spoofing
.\"
.TH HOST.CONF 5 2003-08-23 "Linux" "Linux System Administration"
.SH ̾
host.conf \- 쥾ե
.SH
ե
.I /etc/host.conf
ˤϡ쥾Х饤֥ξܺ٤ޤޤƤ롣
Υեˤϡ1 1 Ĥꥭɤ
³ŬڤʤФʤʤ
ǧ륭ɤ
.IR order ", " trim ", " multi ", " nospoof ", " spoof ", " reorder
Ǥ롣
ƥɤʲ롣
.TP
.I order
ΥɤϡۥȤΥååꤹ롣
Υɤθˤϡޤʬ
1 İʾΥåå³ʤƤϤʤʤ
Ѳǽ
.IR bind ", " hosts ", " nis
Ǥ롣
.TP
.I trim
Υɤϡ2 ʾꥹȤ뤳ȤǤ롣
Υɤθˤϡ
ɥåȤǤϤޤ 1 İʾΥɥᥤ̾ΥꥹȤ³ʤФʤʤ
ɥᥤ̾ϥ (':')ߥ (';') (',') Ƕڤ롣
Υɤꤵȡresolv+ 饤֥ DNS ǥ쥾֤줿
٤ƤΥۥ̾θͿ줿ɥᥤ̾ưŪ˼롣
ΥɤϥʥۥȤȥɥᥤǻѤ뤳ȤտޤƤ롣
(Ϣ : NIS ޤ hosts եǽ줿ۥ̾
trim ϱƶʤ
hosts եγƥȥκǽΥۥ̾
ʥɥᥤ̾դΤΤˤ뤫ʤϡ
ۥȤȤΥȡݥꥷˤ碌
Ŭڤɬפ롣դ뤳ȡ)
.TP
.I multi
ͭͤ
.IR on " " off
Ǥ롣
.I on
ꤵ줿硢ǽΥȥΤߤ㳰Ȥơ
resolv+ 饤֥
.I /etc/hosts
ե˸ۥȤФƤͭʥɥ쥹֤Ȥ롣
礭 hosts եĥȤǤϡ
ǽ㲼Τǡ
ǥեȤǤ
.I off
Ǥ롣
.TP
.I nospoof
ͭͤ
.IR on " " off
Ǥ롣
.I on
ꤵ줿硢resolv+ 饤֥
.BR rlogin " " rsh
Υƥ夵뤿ۥ̾εɻߤ褦Ȥ롣
ϡ֥ۥȥɥ쥹ΥååפԤä塢
resolv+ ϤΥɥ쥹Фƥۥ̾ΥååפԤ
⤷ 2 ĤΥۥ̾פʤäϡϼԤ롣
Ȥ褦ư롣
ǥեȤͤ
.I off
Ǥ롣
.TP
.I spoofalert
ͭͤ
.IR on " " off
Ǥ롣
Υץ
.I on
ꤵƤơ
.I nospoof
ץ (on ) ꤵƤ硢
resolv+ syslog ǽ̤ƥ顼˴ؤٹΥȤ롣
ǥեȤͤ
.I off
Ǥ롣
.TP
.I spoof
ͭͤ
.IR off ", " nowarn ", " warn
Ǥ롣
Υץ
.I off
ꤹȡ줿ɥ쥹Ĥơ
syslog ǽ̤ٹȯʤ
Υץ
.I warn
ꤹȡresolv+ ϥƥ뤿˥ۥ̾εɻߤ
syslog ǽ̤ƥ顼˴ؤٹΥȤ롣
Υץ
.I nowarn
ꤹȡresolv+ ϥƥ뤿˥ۥ̾εɻߤ뤬
syslog ǽ̤ٹȯʤ
Υץꤷʤϡ
.I nowarn
ꤷΤƱˤʤ롣
.TP
.I reorder
ͭͤ
.IR on " " off
Ǥ롣
.I on
ꤵȡ
.B gethostbyname (3)
¹ԤȤresolv+ 饤֥ϡ
(ĤޤꡢƱ֥ͥåȤˤ) ɥ쥹ǽ˥ꥹȤ褦
ۥȥɥ쥹¤Ѥ롣
٤ƤΥååФ¤ѤԤ롣
ǥեȤͤϡ
.I off
Ǥ롣
.SH Ķѿ
.I /etc/host.conf
ꤵƤư桼Ǥ 6 ĤδĶѿ롣
.TP
.B RESOLV_HOST_CONF
ѿꤹȡ
.I /etc/host.conf
ɤ߹եǤ롣
.TP
.B RESOLV_SERV_ORDER
.I order
ޥɤ롣
.TP
.B RESOLV_SPOOF_CHECK
.I spoof
ޥɤϤΤƱǡ
.IR nospoof ", " spoofalert ", " spoof
ޥɤǤ롣
ͭͤ
.IR off ", " nowarn ", " warn
Ǥ롣
.TP
.B RESOLV_MULTI
.I multi
ޥɤ롣
.TP
.B RESOLV_REORDER
.I reorder
ޥɤ롣
.TP
.B RESOLV_ADD_TRIM_DOMAINS
(':')ߥ (';') (',') Ƕڤä
ɥå ('.') ǻϤޤɥᥤ̾Υꥹȡ
ۥ̾ɥᥤ̾ΥꥹȤɲä롣
.TP
.B RESOLV_OVERRIDE_TRIM_DOMAINS
(':')ߥ (';') (',') Ƕڤä
ɥå ('.') ǻϤޤɥᥤ̾Υꥹȡ
ۥ̾ɥᥤ̾ΥꥹȤ롣
.I trim
ޥɤ롣
.SH ե
.TP
.I /etc/host.conf
ե
.TP
.I /etc/resolv.conf
ե
.TP
.I /etc/hosts
hosts ǡ١
.SH
μ٤ưʲΤ褦ʰ㤤롣
ޥ
.I spoof
ȿĶѿ
.B RESOLV_SPOOF_CHECK
ϡ
.IR off ", " nowarn ", " warn
Ȥ롣
ȤϹƬǤϤʤɤ˽Ƥ褤
.SH Ϣ
.BR gethostbyname (3),
.BR hostname (7),
.BR named (8),
.BR resolv+ (8)
|