Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_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 | 4add6ae1296f |
children | 44f3b52c0679 |
comparison
equal
deleted
inserted
replaced
2869:9383e934e546 | 2870:e06cf66a9f63 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_core_module" | 9 <module name="Module ngx_stream_core_module" |
10 link="/en/docs/stream/ngx_stream_core_module.html" | 10 link="/en/docs/stream/ngx_stream_core_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="34"> | 12 rev="35"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_core_module</literal> module | 17 The <literal>ngx_stream_core_module</literal> module |
339 | 339 |
340 <directive name="resolver"> | 340 <directive name="resolver"> |
341 <syntax> | 341 <syntax> |
342 <value>address</value> ... | 342 <value>address</value> ... |
343 [<literal>valid</literal>=<value>time</value>] | 343 [<literal>valid</literal>=<value>time</value>] |
344 [<literal>ipv4</literal>=<literal>on</literal>|<literal>off</literal>] | |
344 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>] | 345 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>] |
345 [<literal>status_zone</literal>=<value>zone</value>]</syntax> | 346 [<literal>status_zone</literal>=<value>zone</value>]</syntax> |
346 <default/> | 347 <default/> |
347 <context>stream</context> | 348 <context>stream</context> |
348 <context>server</context> | 349 <context>server</context> |
360 Name servers are queried in a round-robin fashion. | 361 Name servers are queried in a round-robin fashion. |
361 </para> | 362 </para> |
362 | 363 |
363 <para id="resolver_ipv6"> | 364 <para id="resolver_ipv6"> |
364 By default, nginx will look up both IPv4 and IPv6 addresses while resolving. | 365 By default, nginx will look up both IPv4 and IPv6 addresses while resolving. |
365 If looking up of IPv6 addresses is not desired, | 366 If looking up of IPv4 or IPv6 addresses is not desired, |
367 the <literal>ipv4=off</literal> (1.23.1) or | |
366 the <literal>ipv6=off</literal> parameter can be specified. | 368 the <literal>ipv6=off</literal> parameter can be specified. |
367 </para> | 369 </para> |
368 | 370 |
369 <para id="resolver_valid"> | 371 <para id="resolver_valid"> |
370 By default, nginx caches answers using the TTL value of a response. | 372 By default, nginx caches answers using the TTL value of a response. |