File: resolver.5

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (188 lines) | stat: -rw-r--r-- 6,609 bytes parent folder | download | duplicates (5)
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
.\" Copyright (c) 1986, 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     @(#)resolver.5	8.1 (Berkeley) 6/5/93
.\" %FreeBSD: src/share/man/man5/resolver.5,v 1.7.2.1 2001/08/17 13:08:47 ru Exp %
.\" $FreeBSD: doc/ja_JP.eucJP/man/man5/resolver.5,v 1.7 2001/05/14 01:09:31 horikawa Exp $
.\"
.Dd November 11, 1993
.Dt RESOLVER 5
.Os
.Sh ̾
.Nm resolver
.Nd ꥾ե
.Sh 
.Nm resolv.conf
.Sh 
.Xr resolver 3
ϥ󥿡ͥåȥɥᥤ͡ॷƥؤΥ󶡤
C 饤֥Υ롼󷲤Ǥ
꥾եϡϤƥ꥾Х롼󤬥ץˤäƸƤӽ
줿Ȥɤ߹ޤޤǤޤ
եϿͤ˲ɤʤ褦߷פƤꡢ͡ʼΥ꥾о
󶡤롢ͤȼɤΥꥹȤޤǤޤ
.Pp
̤˹줿ƥǤϡΥեɬפǤϤޤ
䤤碌ͣΥ͡ॵФϥޥˤꡢۥ̾
ɥᥤ̾ꤵ졢ɥᥤθѥΥɥᥤ̾
ޤ
.Pp
͡ꥪץϰʲ̤Ǥ
.Bl -tag -width nameserver
.It Sy nameserver
꥾Ф䤤碌򤹤͡ॵФΥ󥿡ͥåȥɥ쥹
(ɥåɽ)Ǥ
 1 ĤŤġ
.Dv MAXNS
(Ǥ 3)ޤǤΥ͡ॵФҤǤޤ
ʣΥФҤƤ硢꥾Х饤֥ϵҤ줿
䤤碌Фޤ
.Sy nameserver
ȥ꤬ҤƤʤ硢ǥեȤǤϥޥΥ͡
ФѤޤ
(ǻȤ륢르ꥺϰʲΤ褦ˤʤޤޤ͡
Ф䤤碌ߤޤ䤤碌ॢȤˤʤС
Υ͡ॵФ䤤碌ߡ͡ॵФʤʤޤ
³ޤʤ硢ΰϢ䤤碌λߤȥ饤
ãޤǷ֤ޤ)
.It Sy domain
ɥᥤ̾
ΥɥᥤǤ̾䤤碌ΤۤȤɤɥᥤˤ
û̾Ѥ뤳ȤǤޤ
.Sy domain
ȥ꤬ҤƤʤ硢
.Xr gethostname 3
ۥ̾ɥᥤꤷޤ
ɥᥤϺǽ `.' ʹߤƤȤʤޤ
ۥ̾ɥᥤޤǤʤ硢ǽŪˤϥ롼ȥɥᥤ󤬻Ѥޤ
.It Sy search
ۥ̾ĴΤθꥹȡ
̾ꥹȤϥɥᥤ̾ꤵޤ
ǥեȤǤϡɥᥤ̾Τߤޤߤޤ
ꥹȤϡ
.Sy search
ɤθ˥ڡޤϥ֤Ƕڤ줿ɥᥤ󸡺ѥ̾󤹤뤳Ȥ
ѹǤޤ
ۤȤɤΥ꥾Ф䤤碌ϡѥγƹǤפ륨ȥ꤬
ĤޤǤޤǽ˻ޤ
Ҥ줿ɥᥤΥФǤϤʤ硢ν®¿
ͥåȥȥեåȯǽ뤳ȤȡΤ줫
ɥᥤ˴ؤơѲǽʥФ 1 Ĥ¸ߤʤˤ䤤碌
ॢȤ뤳Ȥդɬפޤ
.Pp
ߤΤȤꥹȤ 6 ɥᥤ󡢷 256 ʸ¤ޤ
.It Sy sortlist
sortlist Ѥ gethostbyname ˤ֤륢ɥ쥹򥽡ȤǤޤ
sortlist  IP ɥ쥹ȥͥåȥޥȤǻꤵޤ
ͥåȥޥϥץǤꡢ
ǥեȤΥͥåȥޥϥͥåȤФ뼫ʥͥåȥޥ (natural netmask)
Ǥ
IP ɥ쥹ȥץΥͥåȥޥȤϥåǶڤޤ
10 ȤޤǻǽǤ
.Pp
 sortlist 130.155.160.0/255.255.240.0 130.155.0.0
.It Sy options
options ˤ꥾ФѿǤޤ
ʸˡ
.Pp
\fBoptions\fP \fIoption\fP \fI...\fP
.Pp
Ǥꡢ
.Sy option
ϰʲΤ줫Ǥ:
.Pp
.Bl -tag -width no_tld_query
.It Sy debug
_res.options 
.Dv RES_DEBUG
ꤷޤ
.It Sy ndots:n
.Em ǽ䤤碌
Ԥˡ
.Fn res_query
(
.Xr resolver 3
) Ϳ̾˴ޤޤ٤ɥåȿͤꤷޤ
.Em n
ΥǥեȤ
.Dq 1
Ǥϡ̾˥ɥåȤС
.Em search list
Ǥɲäˡ
̾ޤ̾Ȥƻ뤳Ȥ̣ޤ
.It Sy no_tld_query
꥾Ф˥ȥåץ٥Υɥᥤ̾ʤɥåȤʤ̾
褷ʤ褦ˤޤ
ΥץѤƤ⡢꥾ФͿ줿̾Ѥɸ
.Sy domain

.Sy search
Υ롼˽ȤɤȤϤǤޤ
.El
.Pp
options 
.Dv RES_OPTIONS
ĶѿѤơޤϥֶڤΥꥹȤȤƻǤޤ
.El
.Pp
.Sy domain

.Sy search
ɤ¾ŪǤ
Υɤ 1 İʾ嵭ҤƤ硢
ǸΥɤͭˤʤޤ
.Pp
ɤͤƱԤ¸ߤɬפꡢ
(㤨
.Sy nameserver )
ϹԤƬˤɬפޤ
ͤϥɤ³ƶǶڤäƵҤޤ
.Sh Ϣե
.Bl -tag -width /etc/resolv.conf -compact
.It Pa /etc/resolv.conf
.Nm resolv.conf

.Pa /etc
¸ߤޤ
.El
.Sh Ϣ
.Xr gethostbyname 3 ,
.Xr resolver 3 ,
.Xr hostname 7 ,
.Xr named 8
.Rs
.%T "Name Server Operations Guide for BIND"
.Re
.Sh 
.Nm resolv.conf
եեޥåȤ
.Bx 4.3
о줷ޤ