comparison xml/en/docs/mail/ngx_mail_core_module.xml @ 2870:e06cf66a9f63

Documented the "ipv4=off" parameter of the "resolver" directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 19 Jul 2022 14:10:02 +0100
parents 00afc7c4d4df
children 7ebe15d6c68d
comparison
equal deleted inserted replaced
2869:9383e934e546 2870:e06cf66a9f63
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="19"> 13 rev="20">
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
311 311
312 <directive name="resolver"> 312 <directive name="resolver">
313 <syntax> 313 <syntax>
314 <value>address</value> ... 314 <value>address</value> ...
315 [<literal>valid</literal>=<value>time</value>] 315 [<literal>valid</literal>=<value>time</value>]
316 [<literal>ipv4</literal>=<literal>on</literal>|<literal>off</literal>]
316 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>] 317 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>]
317 [<literal>status_zone</literal>=<value>zone</value>]</syntax> 318 [<literal>status_zone</literal>=<value>zone</value>]</syntax>
318 <syntax><literal>off</literal></syntax> 319 <syntax><literal>off</literal></syntax>
319 <default>off</default> 320 <default>off</default>
320 <context>mail</context> 321 <context>mail</context>
342 </note> 343 </note>
343 </para> 344 </para>
344 345
345 <para id="resolver_ipv6"> 346 <para id="resolver_ipv6">
346 By default, nginx will look up both IPv4 and IPv6 addresses while resolving. 347 By default, nginx will look up both IPv4 and IPv6 addresses while resolving.
347 If looking up of IPv6 addresses is not desired, 348 If looking up of IPv4 or IPv6 addresses is not desired,
349 the <literal>ipv4=off</literal> (1.23.1) or
348 the <literal>ipv6=off</literal> parameter can be specified. 350 the <literal>ipv6=off</literal> parameter can be specified.
349 <note> 351 <note>
350 Resolving of names into IPv6 addresses is supported 352 Resolving of names into IPv6 addresses is supported
351 starting from version 1.5.8. 353 starting from version 1.5.8.
352 </note> 354 </note>