comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 2451:721f78cff4ef

Documented resolver statistics for stream and mail.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 29 Oct 2019 19:19:25 +0300
parents ee4eccd811cd
children 4487310de7e7
comparison
equal deleted inserted replaced
2450:a26a42699207 2451:721f78cff4ef
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="27"> 12 rev="28">
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
318 318
319 <directive name="resolver"> 319 <directive name="resolver">
320 <syntax> 320 <syntax>
321 <value>address</value> ... 321 <value>address</value> ...
322 [<literal>valid</literal>=<value>time</value>] 322 [<literal>valid</literal>=<value>time</value>]
323 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>]</syntax> 323 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>]
324 [<literal>status_zone</literal>=<value>zone</value>]</syntax>
324 <default/> 325 <default/>
325 <context>stream</context> 326 <context>stream</context>
326 <context>server</context> 327 <context>server</context>
327 <appeared-in>1.11.3</appeared-in> 328 <appeared-in>1.11.3</appeared-in>
328 329
348 By default, nginx caches answers using the TTL value of a response. 349 By default, nginx caches answers using the TTL value of a response.
349 The optional <literal>valid</literal> parameter allows overriding it: 350 The optional <literal>valid</literal> parameter allows overriding it:
350 <example> 351 <example>
351 resolver 127.0.0.1 [::1]:5353 valid=30s; 352 resolver 127.0.0.1 [::1]:5353 valid=30s;
352 </example> 353 </example>
354 </para>
355
356 <para id="resolver_status_zone">
357 The optional <literal>status_zone</literal> parameter (1.17.1)
358 enables
359 <link doc="../http/ngx_http_api_module.xml" id="resolvers_">collection</link>
360 of DNS server statistics of requests and responses
361 in the specified <value>zone</value>.
362 The parameter is available as part of our
363 <commercial_version>commercial subscription</commercial_version>.
364 </para>
365
366 <para>
353 <note> 367 <note>
354 Before version 1.11.3, this directive was available as part of our 368 Before version 1.11.3, this directive was available as part of our
355 <commercial_version>commercial subscription</commercial_version>. 369 <commercial_version>commercial subscription</commercial_version>.
356 </note> 370 </note>
357 </para> 371 </para>