Mercurial > hg > nginx-site
comparison xml/en/docs/mail/ngx_mail_core_module.xml @ 2452:4487310de7e7
Added IDs to resolver parameters, minor language fixes in resolver.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 29 Oct 2019 19:19:25 +0300 |
parents | 721f78cff4ef |
children | 1b0cc44de0fd |
comparison
equal
deleted
inserted
replaced
2451:721f78cff4ef | 2452:4487310de7e7 |
---|---|
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="11"> | 13 rev="12"> |
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 |
300 command when proxying SMTP. | 300 command when proxying SMTP. |
301 For example: | 301 For example: |
302 <example> | 302 <example> |
303 resolver 127.0.0.1 [::1]:5353; | 303 resolver 127.0.0.1 [::1]:5353; |
304 </example> | 304 </example> |
305 An address can be specified as a domain name or IP address, | 305 The address can be specified as a domain name or IP address, |
306 and an optional port (1.3.1, 1.2.2). | 306 with an optional port (1.3.1, 1.2.2). |
307 If port is not specified, the port 53 is used. | 307 If port is not specified, the port 53 is used. |
308 Name servers are queried in a round-robin fashion. | 308 Name servers are queried in a round-robin fashion. |
309 <note> | 309 <note> |
310 Before version 1.1.7, only a single name server could be configured. | 310 Before version 1.1.7, only a single name server could be configured. |
311 Specifying name servers using IPv6 addresses is supported | 311 Specifying name servers using IPv6 addresses is supported |
312 starting from versions 1.3.1 and 1.2.2. | 312 starting from versions 1.3.1 and 1.2.2. |
313 </note> | 313 </note> |
314 </para> | |
315 | |
316 <para id="resolver_valid"> | |
314 By default, nginx caches answers using the TTL value of a response. | 317 By default, nginx caches answers using the TTL value of a response. |
315 An optional <literal>valid</literal> parameter allows overriding it: | 318 An optional <literal>valid</literal> parameter allows overriding it: |
316 <example> | 319 <example> |
317 resolver 127.0.0.1 [::1]:5353 valid=30s; | 320 resolver 127.0.0.1 [::1]:5353 valid=30s; |
318 </example> | 321 </example> |
330 in the specified <value>zone</value>. | 333 in the specified <value>zone</value>. |
331 The parameter is available as part of our | 334 The parameter is available as part of our |
332 <commercial_version>commercial subscription</commercial_version>. | 335 <commercial_version>commercial subscription</commercial_version>. |
333 </para> | 336 </para> |
334 | 337 |
335 <para> | 338 <para id="resolver_off"> |
336 The special value <literal>off</literal> disables resolving. | 339 The special value <literal>off</literal> disables resolving. |
337 </para> | 340 </para> |
338 | 341 |
339 </directive> | 342 </directive> |
340 | 343 |