Mercurial > hg > nginx-site
comparison xml/en/docs/mail/ngx_mail_core_module.xml @ 2453:1b0cc44de0fd
Documented the "ipv6=" parameter for resolver in mail.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 29 Oct 2019 19:21:03 +0300 |
parents | 4487310de7e7 |
children | c8f0f30e1513 |
comparison
equal
deleted
inserted
replaced
2452:4487310de7e7 | 2453:1b0cc44de0fd |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_mail_core_module" | 10 <module name="Module ngx_mail_core_module" |
11 link="/en/docs/mail/ngx_mail_core_module.html" | 11 link="/en/docs/mail/ngx_mail_core_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="12"> | 13 rev="13"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 This module is not built by default, it should be | 18 This module is not built by default, it should be |
283 | 283 |
284 <directive name="resolver"> | 284 <directive name="resolver"> |
285 <syntax> | 285 <syntax> |
286 <value>address</value> ... | 286 <value>address</value> ... |
287 [<literal>valid</literal>=<value>time</value>] | 287 [<literal>valid</literal>=<value>time</value>] |
288 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>] | |
288 [<literal>status_zone</literal>=<value>zone</value>]</syntax> | 289 [<literal>status_zone</literal>=<value>zone</value>]</syntax> |
289 <syntax><literal>off</literal></syntax> | 290 <syntax><literal>off</literal></syntax> |
290 <default>off</default> | 291 <default>off</default> |
291 <context>mail</context> | 292 <context>mail</context> |
292 <context>server</context> | 293 <context>server</context> |
311 Specifying name servers using IPv6 addresses is supported | 312 Specifying name servers using IPv6 addresses is supported |
312 starting from versions 1.3.1 and 1.2.2. | 313 starting from versions 1.3.1 and 1.2.2. |
313 </note> | 314 </note> |
314 </para> | 315 </para> |
315 | 316 |
317 <para id="resolver_ipv6"> | |
318 By default, nginx will look up both IPv4 and IPv6 addresses while resolving. | |
319 If looking up of IPv6 addresses is not desired, | |
320 the <literal>ipv6=off</literal> parameter can be specified. | |
321 <note> | |
322 Resolving of names into IPv6 addresses is supported | |
323 starting from version 1.5.8. | |
324 </note> | |
325 </para> | |
326 | |
316 <para id="resolver_valid"> | 327 <para id="resolver_valid"> |
317 By default, nginx caches answers using the TTL value of a response. | 328 By default, nginx caches answers using the TTL value of a response. |
318 An optional <literal>valid</literal> parameter allows overriding it: | 329 An optional <literal>valid</literal> parameter allows overriding it: |
319 <example> | 330 <example> |
320 resolver 127.0.0.1 [::1]:5353 valid=30s; | 331 resolver 127.0.0.1 [::1]:5353 valid=30s; |