OSDN Git Service

(split) Move Japanese translation histories after original history sections.
[linuxjm/LDP_man-pages.git] / draft / man5 / resolv.conf.5
1 .\" Copyright (c) 1986 The Regents of the University of California.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms are permitted
5 .\" provided that the above copyright notice and this paragraph are
6 .\" duplicated in all such forms and that any documentation,
7 .\" advertising materials, and other materials related to such
8 .\" distribution and use acknowledge that the software was developed
9 .\" by the University of California, Berkeley.  The name of the
10 .\" University may not be used to endorse or promote products derived
11 .\" from this software without specific prior written permission.
12 .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13 .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15 .\"
16 .\"     @(#)resolver.5  5.9 (Berkeley) 12/14/89
17 .\"     $Id$
18 .\"
19 .\" Added ndots remark by Bernhard R. Link - debian bug #182886
20 .\"
21 .\" Japanese Version Copyright (c) 2000, 2005 Yuichi SATO
22 .\"         all rights reserved.
23 .\" Translated 2000-09-15, Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
24 .\" Updated & Modified 2005-01-22, Yuichi SATO <ysato444@yahoo.co.jp>
25 .\" Updated 2010-04-18, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.24
26 .\"
27 .\"WORD:        resolver        ¥ì¥¾¥ë¥Ð
28 .\"WORD:        query           Ì䤤¹ç¤ï¤»
29 .\"
30 .TH RESOLV.CONF 5 2009-03-01 "" "Linux Programmer's Manual"
31 .UC 4
32 .\"O .SH NAME
33 .SH Ì¾Á°
34 .\"O resolv.conf \- resolver configuration file
35 resolv.conf \- ¥ì¥¾¥ë¥ÐÀßÄê¥Õ¥¡¥¤¥ë
36 .\"O .SH SYNOPSIS
37 .SH ½ñ¼°
38 .B /etc/resolv.conf
39 .\"O .SH DESCRIPTION
40 .SH ÀâÌÀ
41 .\"O The
42 .\"O .I resolver
43 .\"O is a set of routines in the C library
44 .\"O that provide access to the Internet Domain Name System (DNS).
45 .\"O The resolver configuration file contains information that is read
46 .\"O by the resolver routines the first time they are invoked by a process.
47 .\"O The file is designed to be human readable and contains a list of
48 .\"O keywords with values that provide various types of resolver information.
49 .I resolver
50 ¤Ï¡¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Î¥É¥á¥¤¥ó¥Í¡¼¥à¥·¥¹¥Æ¥à (DNS) ¤Ø¤Î¥¢¥¯¥»¥¹¤òÄ󶡤¹¤ë
51 C ¥é¥¤¥Ö¥é¥ê¤Î¥ë¡¼¥Á¥ó·²¤Ç¤¢¤ë¡£
52 ¥ì¥¾¥ë¥ÐÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥ì¥¾¥ë¥Ð¥ë¡¼¥Á¥ó¤¬¥×¥í¥»¥¹¤Ë¤è¤Ã¤ÆºÇ½é¤Ë
53 µ¯Æ°¤µ¤ì¤¿¤È¤­¤ËÆɤ߹þ¤Þ¤ì¤ë¾ðÊ󤬳ÊǼ¤µ¤ì¤Æ¤¤¤ë¡£
54 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¿Í´Ö¤Ë²ÄÆɤʤ褦¤ËÀ߷פµ¤ì¤Æ¤¤¤ë¡£
55 ¥­¡¼¥ï¡¼¥É¤ÈÃͤΥꥹ¥È¤¬´Þ¤Þ¤ì¡¢¤¤¤í¤¤¤í¤Ê¥¿¥¤¥×¤Î¥ì¥¾¥ë¥Ð¾ðÊó¤òÄ󶡤¹¤ë¡£
56 .LP
57 .\"O On a normally configured system this file should not be necessary.
58 .\"O The only name server to be queried will be on the local machine;
59 .\"O the domain name is determined from the hostname
60 .\"O and the domain search path is constructed from the domain name.
61 ÉáÄ̤ËÀßÄꤵ¤ì¤¿¥·¥¹¥Æ¥à¤Ç¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤ÏɬÍפʤ¤¡£
62 Ì䤤¹ç¤ï¤»¤ò¤µ¤ì¤ëÍ£°ì¤Î¥Í¡¼¥à¥µ¡¼¥Ð¤Ï¥í¡¼¥«¥ë¥Þ¥·¥ó¾å¤Ë¤¢¤ë¡£
63 ¥É¥á¥¤¥ó̾¤Ï¥Û¥¹¥È̾¤«¤é·èÄꤵ¤ì¡¢
64 ¥É¥á¥¤¥ó¤Î¸¡º÷¥Ñ¥¹¤Ï¥É¥á¥¤¥ó̾¤«¤éºîÀ®¤µ¤ì¤ë¡£
65 .LP
66 .\"O The different configuration options are:
67 ¤³¤Î¾õÂÖ¤òÊѹ¹¤¹¤ë¤¿¤á¤ÎÀßÄꥪ¥×¥·¥ç¥ó¤Ë¤Ï¡¢°Ê²¼¤Î¤è¤¦¤Ê¤â¤Î¤¬¤¢¤ë¡£
68 .TP
69 .\"O \fBnameserver\fP Name server IP address
70 \fBnameserver\fP ¥Í¡¼¥à¥µ¡¼¥Ð¤Î IP ¥¢¥É¥ì¥¹
71 .\"O Internet address (in dot notation) of a name server
72 .\"O that the resolver should query.
73 .\"O Up to
74 .\"O .B MAXNS
75 .\"O (currently 3, see \fI<resolv.h>\fP) name servers may be listed,
76 .\"O one per keyword.
77 .\"O If there are multiple servers,
78 .\"O the resolver library queries them in the order listed.
79 .\"O If no \fBnameserver\fP entries are present,
80 .\"O the default is to use the name server on the local machine.
81 .\"O (The algorithm used is to try a name server, and if the query times out,
82 .\"O try the next, until out of name servers,
83 .\"O then repeat trying all the name servers
84 .\"O until a maximum number of retries are made.)
85 ¥ì¥¾¥ë¥Ð¤¬Ì䤤¹ç¤ï¤»¤ò¤¹¤ë¥Í¡¼¥à¥µ¡¼¥Ð¤Î
86 (¥É¥Ã¥Èɽµ­¤Î) ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥¢¥É¥ì¥¹¡£
87 ¤³¤Î¥­¡¼¥ï¡¼¥É 1 ¤Ä¤´¤È¤Ë 1 Âæ¤Å¤Ä¡¢
88 .B MAXNS
89 Âæ (¸½¾õ¤Ç¤Ï 3 Âæ¡¢\fI<resolv.h>\fP ¤ò»²¾È) ¤Þ¤Ç¤Î¥Í¡¼¥à¥µ¡¼¥Ð¤ò¥ê¥¹¥È¤Ç¤­¤ë¡£
90 Ê£¿ô¤Î¥µ¡¼¥Ð¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢¥ì¥¾¥ë¥Ð¥é¥¤¥Ö¥é¥ê¤Ï
91 ¥ê¥¹¥È¤µ¤ì¤¿½ç¤ËÌ䤤¹ç¤ï¤»¤ò¹Ô¤¦¡£
92 \fBnameserver\fP ¥¨¥ó¥È¥ê¤¬¤Ê¤¤¾ì¹ç¡¢
93 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥í¡¼¥«¥ë¥Þ¥·¥ó¾å¤Î¥Í¡¼¥à¥µ¡¼¥Ð¤¬»È¤ï¤ì¤ë¡£
94 (¤³¤³¤Ç»È¤ï¤ì¤ë¥¢¥ë¥´¥ê¥º¥à¤Ï°Ê²¼¤Î¤è¤¦¤Ê¤â¤Î¤Ç¤¢¤ë¡£
95 ¤Ï¤¸¤á¤Ë¥Í¡¼¥à¥µ¡¼¥Ð¤ËÌ䤤¹ç¤ï¤»¤ò»î¤ß¤ë¡£
96 ¤³¤ÎÌ䤤¹ç¤ï¤»¤¬¥¿¥¤¥à¥¢¥¦¥È¤Ë¤Ê¤Ã¤¿¾ì¹ç¡¢
97 ¼¡¤Î¥Í¡¼¥à¥µ¡¼¥Ð¤ËÌ䤤¹ç¤ï¤»¤ò»î¤ß¤ë¡£
98 ¤³¤ì¤ò¥Í¡¼¥à¥µ¡¼¥Ð¤¬¤Ê¤¯¤Ê¤ë¤Þ¤Ç³¤±¤ë¡£
99 ¤½¤ì¤Ç¤â±þÅú¤¬¤Ê¤¤¾ì¹ç¤Ï¡¢¥ê¥È¥é¥¤ºÇÂç²ó¿ô¤Ë㤹¤ë¤Þ¤Ç
100 Á´¤Æ¤Î¥Í¡¼¥à¥µ¡¼¥Ð¤ËÌ䤤¹ç¤ï¤»¤ò·«¤êÊÖ¤¹¡£)
101 .TP
102 .\"O \fBdomain\fP Local domain name.
103 \fBdomain\fP ¥í¡¼¥«¥ë¥É¥á¥¤¥ó̾
104 .\"O Most queries for names within this domain can use short names
105 .\"O relative to the local domain.
106 .\"O If no \fBdomain\fP entry is present, the domain is determined
107 .\"O from the local hostname returned by
108 .\"O .BR gethostname (2);
109 .\"O the domain part is taken to be everything after the first \(aq.\(aq.
110 .\"O Finally, if thehost name does not contain a domain part, the root
111 .\"O domain is assumed.
112 ¤³¤Î¥É¥á¥¤¥ó¤Ë¤¢¤ë̾Á°¤ÎÌ䤤¹ç¤ï¤»¤Î¤Û¤È¤ó¤É¤Ë¡¢
113 ¤³¤Î¥í¡¼¥«¥ë¥É¥á¥¤¥ó¤Ë¤ª¤±¤ëû¤¤Ì¾Á°¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
114 \fBdomain\fP ¥¨¥ó¥È¥ê¤¬¤Ê¤¤¾ì¹ç¡¢¥É¥á¥¤¥ó̾¤Ï
115 .BR gethostname (2)
116 ¤ÇÊÖ¤µ¤ì¤ë¥í¡¼¥«¥ë¥Û¥¹¥È̾¤«¤é·èÄꤵ¤ì¡¢
117 ºÇ½é¤Î \(aq.\(aq °Ê¹ß¤ÎÁ´¤Æ¤ÎÉôʬ¤¬¥É¥á¥¤¥ó̾¤È¤µ¤ì¤ë¡£
118 ¤³¤Î¥Û¥¹¥È̾¤Ë¤â¥É¥á¥¤¥óÉô¤ò´Þ¤ó¤Ç¤¤¤Ê¤¤¾ì¹ç¡¢¥ë¡¼¥È¥É¥á¥¤¥ó¤¬²¾Äꤵ¤ì¤ë¡£
119 .TP
120 .\"O \fBsearch\fP Search list for host-name lookup.
121 \fBsearch\fP ¥Û¥¹¥È̾¥ë¥Ã¥¯¥¢¥Ã¥×¤Î¤¿¤á¤Î¸¡º÷¥ê¥¹¥È
122 .\"O The search list is normally determined from the local domain name;
123 .\"O by default, it contains only the local domain name.
124 .\"O This may be changed by listing the desired domain search path
125 .\"O following the \fIsearch\fP keyword with spaces or tabs separating
126 .\"O the names.
127 .\"O Resolver queries having fewer than
128 .\"O .I ndots
129 .\"O dots (default is 1) in them will be attempted using each component
130 .\"O of the search path in turn until a match is found.
131 ¸¡º÷¥ê¥¹¥È¤ÏÄ̾ï¥í¡¼¥«¥ë¥É¥á¥¤¥ó̾¤«¤é·èÄꤵ¤ì¤ë¡£
132 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¸¡º÷¥ê¥¹¥È¤Ï¥í¡¼¥«¥ë¥É¥á¥¤¥ó̾¤Î¤ß¤Ç¤¢¤ë¡£
133 ¤³¤ì¤òÊѹ¹¤¹¤ë¤Ë¤Ï¡¢\fIsearch\fP ¥­¡¼¥ï¡¼¥É¤Î¸å¤Ë
134 ´õ˾¤¹¤ë¥É¥á¥¤¥ó¸¡º÷¥Ñ¥¹¤ò¥¹¥Ú¡¼¥¹¤Þ¤¿¤Ï¥¿¥Ö¤Ç¶èÀڤäƥꥹ¥È¤¹¤ì¤Ð¤è¤¤¡£
135 ¥É¥Ã¥È¤Î¿ô¤¬
136 .I ndots
137 (¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 1) ¤è¤ê¾¯¤Ê¤¤¥ì¥¾¥ë¥Ð¤ÎÌ䤤¹ç¤ï¤»¤Ï¡¢
138 °ìÃפ¹¤ë¤â¤Î¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¸¡º÷¥Ñ¥¹¤Î³ÆÍ×ÁǤò½ç¤Ë»È¤Ã¤Æ»î¤¹¡£
139 .\"O For environments with multiple subdomains please read
140 .\"O .BI "options ndots:" n
141 .\"O below to avoid man-in-the-middle attacks and unnecessary
142 .\"O traffic for the root-dns-servers.
143 Ê£¿ô¤Î¥µ¥Ö¥É¥á¥¤¥ó¤ò»ý¤Ä´Ä¶­¤Ç¤Ï¡¢
144 Âè»°¼Ô¤Ë¤è¤ë¹¶·â (man-in-the-middle attack) ¤È
145 ¥ë¡¼¥È DNS ¥µ¡¼¥Ð¤Ø¤ÎÉÔɬÍפʥȥé¥Õ¥£¥Ã¥¯¤òÈò¤±¤ë¤¿¤á¤Ë¡¢
146 °Ê²¼¤Î
147 .BI "options ndots:" n
148 ¤òÆɤó¤Ç¤Û¤·¤¤¡£
149 .\"O .\" When having a resolv.conv with a line
150 .\"O .\"  search subdomain.domain.tld domain.tld
151 .\"O .\" and doing a hostlookup, for example by
152 .\"O .\"  ping host.anothersubdomain
153 .\"O .\" it sends dns-requests for
154 .\"O .\"  host.anothersubdomain.
155 .\"O .\"  host.anothersubdomain.subdomain.domain.tld.
156 .\"O .\"  host.anothersubdomain.domain.tld.
157 .\"O .\" thus not only causing unnecessary traffic for the root-dns-servers
158 .\"O .\" but broadcasting information to the outside and making man-in-the-middle
159 .\"O .\" attacks possible.
160 .\" resolv.conv ¤Ë
161 .\"  search subdomain.domain.tld domain.tld
162 .\" °Ê²¼¤Î¤è¤¦¤Ê¹Ô¤¬¤¢¤ë¾ì¹ç¤Ë¡¢¤¿¤È¤¨¤Ð
163 .\"  ping host.anothersubdomain
164 .\" ¤Ë¤è¤ë¥Û¥¹¥È¤Î¸¡º÷¤¬¹Ô¤ï¤ì¤ë¤È¡¢
165 .\"  host.anothersubdomain.
166 .\"  host.anothersubdomain.subdomain.domain.tld.
167 .\"  host.anothersubdomain.domain.tld.
168 .\" ¤ËÂФ·¤Æ DNS ¥ê¥¯¥¨¥¹¥È¤¬Á÷¤é¤ë¡£
169 .\" ¤³¤ì¤Ë¤è¤Ã¤Æ¡¢¥ë¡¼¥È DNS ¥µ¡¼¥Ð¤ËÂФ·¤Æ
170 .\" ÉÔɬÍפʥȥé¥Õ¥£¥Ã¥¯¤ò°ú¤­µ¯¤³¤¹¤À¤±¤Ç¤Ê¤¯¡¢
171 .\" ³°Éô¤Ë¾ðÊó¤ò¤Ð¤é¤Þ¤¤¤Æ¤·¤Þ¤¦¤¿¤á¤Ë¡¢Âè»°¼Ô¤Ë¤è¤ë¹¶·â¤¬²Äǽ¤Ë¤Ê¤ë¡£
172 .\"O Note that this process may be slow and will generate a lot of network
173 .\"O traffic if the servers for the listed domains are not local,
174 .\"O and that queries will time out if no server is available
175 .\"O for one of the domains.
176 ¤³¤Î¥×¥í¥»¥¹¤ÏÃÙ¤¯¡¢¥ê¥¹¥È¤µ¤ì¤¿¥É¥á¥¤¥ó¤¬¥í¡¼¥«¥ë¤Î¤â¤Î¤Ç¤Ê¤¤¾ì¹ç¡¢
177 ¿Âç¤Ê¥Í¥Ã¥È¥ï¡¼¥¯¥È¥é¥Õ¥£¥Ã¥¯¤òȯÀ¸¤µ¤»¤ë¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£
178 ¤µ¤é¤Ë¡¢¤³¤ì¤é¤Î¥É¥á¥¤¥ó¤Î¤¤¤º¤ì¤«¤Ò¤È¤Ä¤Ë¤Ç¤âŬÀڤʥµ¡¼¥Ð¤¬¤Ê¤¤¾ì¹ç¡¢
179 Ì䤤¹ç¤ï¤»¤¬¥¿¥¤¥à¥¢¥¦¥È¤Ë¤Ê¤ëÅÀ¤Ë¤âÃí°Õ¤¹¤ë¤³¤È¡£
180 .IP
181 ¸½¾õ¤Ç¤Ï¡¢¸¡º÷¥ê¥¹¥È¤Ï 6 ¥É¥á¥¤¥ó¡¦·× 256 Ê¸»ú¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤ë¡£
182 .TP
183 \fBsortlist\fP
184 .\"O This option allows addresses returned by
185 .\"O .BR gethostbyname (3)
186 .\"O to be sorted.
187 .\"O A sortlist is specified by IP-address-netmask pairs.
188 .\"O The netmask is
189 .\"O optional and defaults to the natural netmask of the net.
190 .\"O The IP address
191 .\"O and optional network pairs are separated by slashes.
192 .\"O Up to 10 pairs may
193 .\"O be specified.
194 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È¡¢
195 .BR gethostbyname (3)
196 ¤ÇÊÖ¤µ¤ì¤ë¥¢¥É¥ì¥¹¤ò¥½¡¼¥È¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
197 sortlist ¤Ï IP ¥¢¥É¥ì¥¹¤È¥Í¥Ã¥È¥Þ¥¹¥¯¤Î¥Ú¥¢¤Ç»ØÄꤵ¤ì¤ë¡£
198 ¥Í¥Ã¥È¥Þ¥¹¥¯¤Ï¾Êά²Äǽ¤Ç¤¢¤ê¡¢
199 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¥Í¥Ã¥È¤ËÂФ¹¤ë¥Ç¥Õ¥©¥ë¥È¤Î¥Í¥Ã¥È¥Þ¥¹¥¯¤Ç¤¢¤ë¡£
200 IP ¥¢¥É¥ì¥¹¤È¥ª¥×¥·¥ç¥ó¤Î¥Í¥Ã¥È¥Þ¥¹¥¯¤Î¥Ú¥¢¤Ï¥¹¥é¥Ã¥·¥å¤Ç¶èÀڤ롣
201 ºÇÂç 10 ÁȤΥڥ¢¤ò»ØÄê¤Ç¤­¤ë¡£
202 .\"O Here is an example:
203 °Ê²¼¤ËÎã¤ò¼¨¤¹¡£
204
205 .in +4n
206 sortlist 130.155.160.0/255.255.240.0 130.155.0.0
207 .in
208 .br
209 .TP
210 \fBoptions\fP
211 .\"O Options allows certain internal resolver variables to be modified.
212 .\"O The syntax is
213 options ¤Ë¤è¤ê¡¢¥ì¥¾¥ë¥Ð¤ÎÆâÉôÊÑ¿ô¤òÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
214 ½ñ¼°¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë¡£
215 .RS
216 .IP
217 \fBoptions\fP \fIoption\fP \fI...\fP
218 .LP
219 .\"O where \fIoption\fP is one of the following:
220 ¤³¤³¤Ç \fIoption\fP ¤Ï¼¡¤Î¤¦¤Á¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ë¡£
221 .TP
222 \fBdebug\fP
223 .\" Since glibc 2.2?
224 .\"O sets
225 .\"O .B RES_DEBUG
226 .\"O in
227 .\"O .IR _res.options .
228 .I _res.options
229 ¤Ë
230 .B RES_DEBUG
231 ¤òÀßÄꤹ¤ë¡£
232 .TP
233 .BI ndots: n
234 .\" Since glibc 2.2
235 .\"O sets a threshold for the number of dots which
236 .\"O must appear in a name given to
237 .\"O .BR res_query (3)
238 .\"O (see
239 .\"O .BR resolver (3))
240 .\"O before an \fIinitial absolute query\fP will be made.
241 .\"O The default for
242 .\"O \fIn\fP is 1, meaning that if there are any dots in a name, the name
243 .\"O will be tried first as an absolute name before any \fIsearch list\fP
244 .\"O elements are appended to it.
245 .\"O The value for this option is silently capped to 15.
246 ¡Ö\fIºÇ½é¤Î´°Á´¤Ê̾Á°¤Ç¤ÎÌ䤤¹ç¤ï¤»\fP¤¬¼Â¹Ô¤µ¤ì¤ëÁ°¤Ë¡¢
247 .BR res_query (3)
248 .RB ( resolver (3)
249 ¤ò»²¾È) ¤ËÍ¿¤¨¤é¤ì¤ë̾Á°¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¤Ù¤­¥É¥Ã¥È¤Î¿ô¤ÎïçÃ͡פòÀßÄꤹ¤ë¡£
250 \fIn\fP ¤Î¥Ç¥Õ¥©¥ë¥È¤Ï 1 ¤Ç¤¢¤ë¡£
251 ¤³¤ì¤Ï¡¢Ì¾Á°¤Ë¥É¥Ã¥È¤¬¤¢¤ë¾ì¹ç¡¢\fIsearch list\fP ¤ÎÍ×ÁǤ¬Éղ䵤ì¤ëÁ°¤Ë¡¢
252 ¤½¤Î̾Á°¤¬´°Á´¤Ê̾Á°¤È¤·¤ÆºÇ½é¤Ë»î¤µ¤ì¤ë¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Æ¤¤¤ë¡£
253 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÎÃͤξå¸Â¤Ï 15 ¤Ç¤¢¤ê¡¢ÌۤäƤ³¤ÎÃͤޤÇÀÚ¤êµÍ¤á¤é¤ì¤ë¡£
254 .TP
255 .BI timeout: n
256 .\" Since glibc 2.2
257 .\"O sets the amount of time the resolver will wait for a
258 .\"O response from a remote name server before retrying the
259 .\"O query via a different name server.
260 .\"O Measured in seconds,
261 .\"O the default is
262 .\"O .B RES_TIMEOUT
263 .\"O (currently 5, see \fI<resolv.h>\fP).
264 .\"O The value for this option is silently capped to 30.
265 ¡Ö¥ì¥¾¥ë¥Ð¤¬Â¾¤Î¥Í¡¼¥à¥µ¡¼¥Ð¤ÇÌ䤤¹ç¤ï¤»¤ò¥ê¥È¥é¥¤¤¹¤ëÁ°¤Ë¡¢
266 ¥ê¥â¡¼¥È¥Í¡¼¥à¥µ¡¼¥Ð¤«¤é¤Î±þÅú¤òÂԤĻþ´Ö¡×¤òÀßÄꤹ¤ë¡£
267 ñ°Ì¤ÏÉäǡ¢¥Ç¥Õ¥©¥ë¥È¤Ï
268 .B RES_TIMEOUT
269 ¤Ç¤¢¤ë
270 (¸½¾õ¤Ç¤Ï 5 Éá¢\fI<resolv.h>\fP ¤ò»²¾È)¡£
271 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÎÃͤξå¸Â¤Ï 30 ¤Ç¤¢¤ê¡¢ÌۤäƤ³¤ÎÃͤޤÇÀÚ¤êµÍ¤á¤é¤ì¤ë¡£
272 .TP
273 .BI attempts: n
274 .\"O sets the number of times the resolver will send a
275 .\"O query to its name servers before giving up and returning
276 .\"O an error to the calling application.
277 .\"O The default is
278 .\"O .B RES_DFLRETRY
279 .\"O (currently 2, see \fI<resolv.h>\fP).
280 .\"O The value for this option is silently capped to 5.
281 ¡Ö¥ì¥¾¥ë¥Ð¤¬Äü¤á¤Æ¸Æ¤Ó½Ð¤·¸µ¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¥¨¥é¡¼¤òÊÖ¤¹¤Þ¤Ç¤Ë¡¢
282 ¥Í¡¼¥à¥µ¡¼¥Ð¤ËÌ䤤¹ç¤ï¤»¤ò¹Ô¤¦²ó¿ô¡×¤òÀßÄꤹ¤ë¡£
283 ¥Ç¥Õ¥©¥ë¥È¤Ï
284 .B RES_DFLRETRY
285 ²ó¤Ç¤¢¤ë
286 (¸½¾õ¤Ç¤Ï 2 ²ó¡¢\fI<resolv.h>\fP ¤ò»²¾È)¡£
287 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÎÃͤξå¸Â¤Ï 5 ¤Ç¤¢¤ê¡¢ÌۤäƤ³¤ÎÃͤޤÇÀÚ¤êµÍ¤á¤é¤ì¤ë¡£
288 .TP
289 .B rotate
290 .\" Since glibc 2.2
291 .\"O sets
292 .\"O .B RES_ROTATE
293 .\"O in
294 .\"O .IR _res.options ,
295 .\"O which causes round robin selection of nameservers from among those listed.
296 .\"O This has the effect of spreading the query load among all listed servers,
297 .\"O rather than having all clients try the first listed server first every time.
298 .I _res.options
299 ¤Ë RES_ROTATE ¤òÀßÄꤹ¤ë¡£
300 ¥ê¥¹¥È¤µ¤ì¤Æ¤¤¤ë¥Í¡¼¥à¥µ¡¼¥Ð¤«¤éÁª¤Ö¤È¤­¤Ë¡¢
301 ¥é¥¦¥ó¥É¥í¥Ó¥ó (round robin) ÁªÂò¤ò¹Ô¤ï¤»¤ë¡£
302 ¥ê¥¹¥È¤µ¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î¥µ¡¼¥Ð¤ÇÌ䤤¹ç¤ï¤»¤ÎÉé²Ù¤òʬ»¶¤¹¤ë¸ú²Ì¤¬¤¢¤ê¡¢
303 ºÇ½é¤Ë¥ê¥¹¥È¤µ¤ì¤¿¥µ¡¼¥Ð¤ËÁ´¤Æ¤Î¥¯¥é¥¤¥¢¥ó¥È¤¬
304 Ëè²óºÇ½é¤ËÌ䤤¹ç¤ï¤»¤ò¹Ô¤¦¤ï¤±¤Ç¤Ï¤Ê¤¯¤Ê¤ë¡£
305 .TP
306 .B no-check-names
307 .\" Since glibc 2.2
308 .\"O sets
309 .\"O .B RES_NOCHECKNAME
310 .\"O in
311 .\"O .IR _res.options ,
312 .\"O which disables the modern BIND checking of incoming hostnames and
313 .\"O mail names for invalid characters such as underscore (_), non-ASCII,
314 .\"O or control characters.
315 .I _res.options
316 ¤Ë
317 .B RES_NOCHECKNAME
318 ¤òÀßÄꤹ¤ë¡£
319 Æþ¤Ã¤Æ¤¯¤ë¥Û¥¹¥È̾¤È¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ë¡¢
320 ¥¢¥ó¥À¡¼¥¹¥³¥¢ (_)¡¦ASCII °Ê³°¤Îʸ»ú¡¦À©¸æʸ»ú¤È¤¤¤Ã¤¿
321 ÉÔÀµ¤Êʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¤«¤òÄ´¤Ù¤ë
322 ºÇ¶á¤Î BIND ¤Î¥Á¥§¥Ã¥¯¤ò̵¸ú¤Ë¤¹¤ë¡£
323 .TP
324 .B inet6
325 .\" Since glibc 2.2
326 .\"O sets
327 .\"O .BR RES_USE_INET6
328 .\"O in
329 .\"O .IR _res.options .
330 .\"O This has the effect of trying a AAAA query before an A query inside the
331 .\"O .BR gethostbyname (3)
332 .\"O function, and of mapping IPv4 responses in IPv6 "tunneled form"
333 .\"O if no AAAA records are found but an A record set exists.
334 .I _res.options
335 ¤Ë
336 .B RES_USE_INET6
337 ¤òÀßÄꤹ¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤ë¤È¡¢
338 .BR gethostbyname (3)
339 ´Ø¿ô¤ÎÆâÉô¤Ç A ¥ì¥³¡¼¥É¤ÎÌ䤤¹ç¤ï¤»¤ò¹Ô¤¦Á°¤Ë
340 AAAA ¥ì¥³¡¼¥É¤ÎÌ䤤¹ç¤ï¤»¤ò¹Ô¤¦¤è¤¦¤Ë¤Ê¤ë¡£
341 ¤Þ¤¿¡¢AAAA ¥ì¥³¡¼¥É¤Ï¸«¤Ä¤«¤é¤Ê¤¤¤¬ A ¥ì¥³¡¼¥É¥»¥Ã¥È¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ë¡¢
342 IPv4 ¤Î±þÅú¤ò IPv6¡Ö¥È¥ó¥Í¥ë·Á¼°¡×¤Ë¥Þ¥Ã¥×¤¹¤ë¤è¤¦¤Ë¤Ê¤ë¡£
343 .TP
344 .\"O .BR ip6-bytestring " (since glibc 2.3.4)"
345 .BR ip6-bytestring " (glibc 2.3.4 °Ê¹ß)"
346 .\"O sets
347 .\"O .BR RES_USE_BSTRING
348 .\"O in
349 .\"O .IR _res.options .
350 .\"O This causes reverse IPv6 lookups to be made using the bit-label format
351 .\"O described in RFC\ 2673;
352 .\"O if this option is not set, then nibble format is used.
353 .I _res.options
354 ¤Ë
355 .B RES_USE_BSTRING
356 ¤òÀßÄꤹ¤ë¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤ë¤È¡¢IPv6 ¥¢¥É¥ì¥¹¤ÎµÕ°ú¤­¤Ç
357 RFC\ 2673 ¤Çµ¬Äꤵ¤ì¤¿ bit-label ·Á¼°¤¬»ÈÍѤµ¤ì¤ë¤è¤¦¤Ë¤Ê¤ë¡£
358 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢nibble ·Á¼°¤¬»ÈÍѤµ¤ì¤ë¡£
359 .TP
360 .\"O .BR ip6-dotint / no-ip6-dotint " (since glibc 2.3.4)"
361 .BR ip6-dotint / no-ip6-dotint " (glibc 2.3.4 °Ê¹ß)"
362 .\"O Clear/set
363 .\"O .BR RES_NOIP6DOTINT
364 .\"O in
365 .\"O .IR _res.options .
366 .I _res.options
367 ¤Ø¤Î
368 .B RES_NOIP6DOTINT
369 ¤Î¥»¥Ã¥È/¥¯¥ê¥¢¤ò¹Ô¤¦¡£
370 .\"O When this option is clear
371 .\"O .RB ( ip6-dotint ),
372 .\"O reverse IPv6 lookups are made in the (deprecated)
373 .\"O .I ip6.int
374 .\"O zone;
375 .\"O when this option is set
376 .\"O .RB ( no-ip6-dotint ),
377 .\"O reverse IPv6 lookups are made in the
378 .\"O .I ip6.arpa
379 .\"O zone by default.
380 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬¥¯¥ê¥¢¤µ¤ì¤ë¤È
381 .RB ( ip6-dotint )¡¢
382 IPv6 ¥¢¥É¥ì¥¹¤ÎµÕ°ú¤­¤¬ (Èó¿ä¾©¤Î)
383 .I ip6.int
384 ¥¾¡¼¥ó¤Ç¹Ô¤ï¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¡¢
385 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬¥»¥Ã¥È¤µ¤ì¤ë¤È
386 .RB ( no-ip6-dotint )¡¢
387 IPv6 ¥¢¥É¥ì¥¹¤ÎµÕ°ú¤­¤¬¥Ç¥Õ¥©¥ë¥È¤Î
388 .I ip6.arpa
389 ¥¾¡¼¥ó¤Ç¹Ô¤ï¤ì¤ë¤è¤¦¤Ë¤Ê¤ë¡£
390 .\"O This option is set by default.
391 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¥»¥Ã¥È¤µ¤ì¤ë¡£
392 .TP
393 .\"O .BR edns0 " (since glibc 2.6)"
394 .BR edns0 " (glibc 2.6 °Ê¹ß)"
395 .\"O sets
396 .\"O .BR RES_USE_EDNSO
397 .\"O in
398 .\"O .IR _res.options .
399 .\"O This enables support for the DNS extensions described in RFC\ 2671.
400 .I _res.options
401 ¤Ë
402 .B RES_USE_EDNSO
403 ¤ò¥»¥Ã¥È¤¹¤ë¡£¤³¤ì¤Ë¤è¤ê¡¢RFC\ 2671 ¤Çµ¬Äꤵ¤ì¤Æ¤¤¤ë
404 DNS ³ÈÄ¥¤Î¥µ¥Ý¡¼¥È¤¬Í­¸ú¤Ë¤Ê¤ë¡£
405 .RE
406 .LP
407 .\"O The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.
408 .\"O If more than one instance of these keywords is present,
409 .\"O the last instance wins.
410 \fIdomain\fP ¤È \fIsearch\fP ¥­¡¼¥ï¡¼¥É¤Ï¡¢¸ß¤¤¤ËÇÓ¾Ū¤Ç¤¢¤ë¡£
411 ¤³¤ì¤é¤Î¥­¡¼¥ï¡¼¥É¤¬ 2 ¤Ä°Ê¾åµ­½Ò¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
412 ºÇ¸å¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤¬Í­¸ú¤Ë¤Ê¤ë¡£
413 .LP
414 .\"O The \fIsearch\fP keyword of a system's \fIresolv.conf\fP file can be
415 .\"O overridden on a per-process basis by setting the environment variable
416 .\"O .B LOCALDOMAIN
417 .\"O to a space-separated list of search domains.
418 ¥·¥¹¥Æ¥à¤Î \fIresolv.conf\fP ¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë \fIsearch\fP ¥­¡¼¥ï¡¼¥É¤Ï¡¢
419 ¥¹¥Ú¡¼¥¹¤Ç¶èÀڤ俸¡º÷¥É¥á¥¤¥ó¤Î¥ê¥¹¥È¤ò
420 ´Ä¶­ÊÑ¿ô
421 .B LOCALDOMAIN
422 ¤ËÀßÄꤹ¤ë¤³¤È¤Ë¤è¤ê¡¢³Æ¥×¥í¥»¥¹Ëè¤Ë¾å½ñ¤­¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
423 .LP
424 .\"O The \fIoptions\fP keyword of a system's \fIresolv.conf\fP file can be
425 .\"O amended on a per-process basis by setting the environment variable
426 .\"O .B RES_OPTIONS
427 .\"O to a space-separated list of resolver options
428 .\"O as explained above under \fBoptions\fP.
429 ¥·¥¹¥Æ¥à¤Î \fIresolv.conf\fP ¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë \fIoptions\fP ¥­¡¼¥ï¡¼¥É¤Ï¡¢
430 ¾å¤Î \fBoptions\fP ¥»¥¯¥·¥ç¥ó¤ÇÀâÌÀ¤·¤¿¤è¤¦¤Ë¡¢
431 ¥¹¥Ú¡¼¥¹¤Ç¶èÀڤ俥쥾¥ë¥Ð¥ª¥×¥·¥ç¥ó¤Î¥ê¥¹¥È¤ò
432 ´Ä¶­ÊÑ¿ô
433 .B RES_OPTIONS
434 ¤ËÀßÄꤹ¤ë¤³¤È¤Ë¤è¤ê¡¢³Æ¥×¥í¥»¥¹Ëè¤Ë½¤Àµ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
435 .LP
436 .\"O The keyword and value must appear on a single line, and the keyword
437 .\"O (e.g., \fBnameserver\fP) must start the line.
438 .\"O The value follows the keyword, separated by white space.
439 ¥­¡¼¥ï¡¼¥É¤ÈÃͤÏƱ¤¸¹Ô¤Ë½ñ¤«¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
440 ¤Þ¤¿¡¢(\fBnameserver\fP ¤Î¤è¤¦¤Ê) ¥­¡¼¥ï¡¼¥É¤¬¹Ô¤ÎÀèƬ¤Ë¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
441 Ãͤϥ­¡¼¥ï¡¼¥É¤Î¸å¤Ë¥¹¥Ú¡¼¥¹¤Ç¶èÀڤäƳ¤±¤ë¡£
442 .\"O .SH FILES
443 .SH ¥Õ¥¡¥¤¥ë
444 .IR /etc/resolv.conf ,
445 .I <resolv.h>
446 .\"O .SH SEE ALSO
447 .SH ´ØÏ¢¹àÌÜ
448 .BR gethostbyname (3),
449 .BR resolver (3),
450 .BR hostname (7),
451 .BR named (8)
452 .br
453 .\"O Name Server Operations Guide for BIND
454 BIND ¤Î¥Í¡¼¥à¥µ¡¼¥Ð¥ª¥Ú¥ì¡¼¥·¥ç¥ó¥¬¥¤¥É
455 .\"O 
456 .\"O Local Variables:
457 .\"O mode: nroff
458 .\"O End: