|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <!-- $Revision$ --> |
3 | | -<!-- EN-Revision: 7be2426e49ee1c9131866f20b67a48aaea0a642a Maintainer: zhoumengkang Status: partial --> |
4 | | -<!-- CREDITS: mowangjuanzi --> |
| 3 | +<!-- EN-Revision: 7be2426e49ee1c9131866f20b67a48aaea0a642a Maintainer: zhoumengkang Status: ready --> |
| 4 | +<!-- CREDITS: mowangjuanzi, Luffy --> |
5 | 5 | <refentry xml:id="function.dns-get-record" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> |
6 | 6 | <refnamediv> |
7 | 7 | <refname>dns_get_record</refname> |
|
113 | 113 | <row> |
114 | 114 | <entry>host</entry> |
115 | 115 | <entry> |
116 | | - The record in the DNS namespace to which the rest of the associated data refers. |
| 116 | + 与其余相关数据引用的 DNS 命名空间中的记录。 |
117 | 117 | </entry> |
118 | 118 | </row> |
119 | 119 | <row> |
|
131 | 131 | <row> |
132 | 132 | <entry>ttl</entry> |
133 | 133 | <entry> |
134 | | - <literal>"Time To Live"</literal> remaining for this record. This will <emphasis>not</emphasis> equal |
135 | | - the record's original ttl, but will rather equal the original ttl minus whatever |
136 | | - length of time has passed since the authoritative name server was queried. |
| 134 | + 与此记录相关的 <literal>"Time To Live"</literal>。 |
| 135 | + 这将<emphasis>不会</emphasis>等于记录的原始 ttl,而是等于原始 ttl 减去自权威名称服务器查询以来经过的时间长度。 |
137 | 136 | </entry> |
138 | 137 | </row> |
139 | 138 | </tbody> |
|
167 | 166 | <row> |
168 | 167 | <entry><literal>CNAME</literal></entry> |
169 | 168 | <entry> |
170 | | - <literal>target</literal>: FQDN of location in DNS namespace to which |
171 | | - the record is aliased. |
| 169 | + <literal>target</literal>:该记录在 DNS 命名空间中的 FQDN 别名。 |
172 | 170 | </entry> |
173 | 171 | </row> |
174 | 172 | <row> |
175 | 173 | <entry><literal>NS</literal></entry> |
176 | 174 | <entry> |
177 | | - <literal>target</literal>: FQDN of the name server which is authoritative |
178 | | - for this hostname. |
| 175 | + <literal>target</literal>:此主机名的权威名称服务器的 FQDN。 |
179 | 176 | </entry> |
180 | 177 | </row> |
181 | 178 | <row> |
182 | 179 | <entry><literal>PTR</literal></entry> |
183 | 180 | <entry> |
184 | | - <literal>target</literal>: Location within the DNS namespace to which |
185 | | - this record points. |
| 181 | + <literal>target</literal>:此记录指向的 DNS 命名空间中的位置。 |
186 | 182 | </entry> |
187 | 183 | </row> |
188 | 184 | <row> |
|
194 | 190 | <row> |
195 | 191 | <entry><literal>HINFO</literal></entry> |
196 | 192 | <entry> |
197 | | - <literal>cpu</literal>: IANA number designating the CPU of the machine |
198 | | - referenced by this record. |
199 | | - <literal>os</literal>: IANA number designating the Operating System on |
200 | | - the machine referenced by this record. |
201 | | - See IANA's <link xlink:href="&url.iana.system-names;"><literal>Operating System |
202 | | - Names</literal></link> for the meaning of these values. |
| 193 | + <literal>cpu</literal>:指定此记录引用的机器的 CPU 的 IANA 号。 |
| 194 | + <literal>os</literal>:指定此记录引用的机器的操作系统的 IANA 号。 |
| 195 | + 请参阅 IANA 的 <link xlink:href="&url.iana.system-names;"><literal>Operating System Names</literal></link>。 |
203 | 196 | </entry> |
204 | 197 | </row> |
205 | 198 | <row> |
|
215 | 208 | <row> |
216 | 209 | <entry><literal>SOA</literal></entry> |
217 | 210 | <entry> |
218 | | - <literal>mname</literal>: FQDN of the machine from which the resource |
219 | | - records originated. |
220 | | - <literal>rname</literal>: Email address of the administrative contact |
221 | | - for this domain. |
222 | | - <literal>serial</literal>: Serial # of this revision of the requested |
223 | | - domain. |
224 | | - <literal>refresh</literal>: Refresh interval (seconds) secondary name |
225 | | - servers should use when updating remote copies of this domain. |
226 | | - <literal>retry</literal>: Length of time (seconds) to wait after a |
227 | | - failed refresh before making a second attempt. |
228 | | - <literal>expire</literal>: Maximum length of time (seconds) a secondary |
229 | | - DNS server should retain remote copies of the zone data without a |
230 | | - successful refresh before discarding. |
231 | | - <literal>minimum-ttl</literal>: Minimum length of time (seconds) a |
232 | | - client can continue to use a DNS resolution before it should request |
233 | | - a new resolution from the server. Can be overridden by individual |
234 | | - resource records. |
| 211 | + <literal>mname</literal>:资源记录来源的机器的 FQDN。 |
| 212 | + <literal>rname</literal>:此域的管理联系人的电子邮件地址。 |
| 213 | + <literal>serial</literal>:请求域的此修订的序列号。 |
| 214 | + <literal>refresh</literal>:次要名称服务器在更新此域的远程副本时应使用的刷新间隔(秒)。 |
| 215 | + <literal>retry</literal>:在刷新失败后等待的时间长度(秒),然后再进行第二次尝试。 |
| 216 | + <literal>expire</literal>:在成功刷新之前,次要 DNS 服务器应保留远程副本的最长时间(秒)。 |
| 217 | + <literal>minimum-ttl</literal>:客户端可以继续使用 DNS 解析的最短时间(秒), |
| 218 | + 在此之前应该从服务器请求新的解析。可以被单独的资源记录覆盖。 |
235 | 219 | </entry> |
236 | 220 | </row> |
237 | 221 | <row> |
|
243 | 227 | <row> |
244 | 228 | <entry><literal>A6</literal></entry> |
245 | 229 | <entry> |
246 | | - <literal>masklen</literal>: Length (in bits) to inherit from the target |
247 | | - specified by <parameter>chain</parameter>. |
248 | | - <literal>ipv6</literal>: Address for this specific record to merge with |
249 | | - <parameter>chain</parameter>. |
250 | | - <literal>chain</literal>: Parent record to merge with |
251 | | - <parameter>ipv6</parameter> data. |
| 230 | + <literal>masklen</literal>:从 <parameter>chain</parameter> 指定的目标继承的长度(以位为单位)。 |
| 231 | + <literal>ipv6</literal>:要与 <parameter>chain</parameter> 合并的特定记录的地址。 |
| 232 | + <literal>chain</literal>:要与 <parameter>ipv6</parameter> 数据合并的父记录。 |
252 | 233 | </entry> |
253 | 234 | </row> |
254 | 235 | <row> |
255 | 236 | <entry><literal>SRV</literal></entry> |
256 | 237 | <entry> |
257 | | - <literal>pri</literal>: (Priority) lowest priorities should be used first. |
258 | | - <literal>weight</literal>: Ranking to weight which of commonly prioritized |
259 | | - <parameter>targets</parameter> should be chosen at random. |
260 | | - <literal>target</literal> and <literal>port</literal>: hostname and port |
261 | | - where the requested service can be found. |
262 | | - For additional information see: <link xlink:href="&url.rfc;2782">RFC 2782</link> |
| 238 | + <literal>pri</literal>:(优先级)应该首先使用最低优先级。 |
| 239 | + <literal>weight</literal>:用于加权常见优先级的目标应该随机选择。 |
| 240 | + <literal>target</literal> 和 <literal>port</literal>:请求服务的主机名和端口。 |
| 241 | + 更多信息参阅:<link xlink:href="&url.rfc;2782">RFC 2782</link>。 |
263 | 242 | </entry> |
264 | 243 | </row> |
265 | 244 | <row> |
266 | 245 | <entry><literal>NAPTR</literal></entry> |
267 | 246 | <entry> |
268 | | - <literal>order</literal> and <literal>pref</literal>: Equivalent to |
269 | | - <parameter>pri</parameter> and <parameter>weight</parameter> above. |
270 | | - <literal>flags</literal>, <literal>services</literal>, <literal>regex</literal>, |
271 | | - and <literal>replacement</literal>: Parameters as defined by |
272 | | - <link xlink:href="&url.rfc;2915">RFC 2915</link>. |
| 247 | + <literal>order</literal> 和 <literal>pref</literal>:等同于上面的 <literal>pri</literal> 和 <literal>weight</literal>。 |
| 248 | + <literal>flags</literal>、<literal>services</literal>、<literal>regex</literal> 和 <literal>replacement</literal>: |
| 249 | + 由 <link xlink:href="&url.rfc;2915">RFC 2915</link> 定义的参数。 |
273 | 250 | </entry> |
274 | 251 | </row> |
275 | 252 | </tbody> |
|
0 commit comments