Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_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 | a26a42699207 |
children | 3896055c397e |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Tue Oct 29 19:19:25 2019 +0300 +++ b/xml/en/docs/http/ngx_http_core_module.xml Tue Oct 29 19:19:25 2019 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="86"> + rev="87"> <section id="directives" name="Directives"> @@ -2128,8 +2128,8 @@ <example> resolver 127.0.0.1 [::1]:5353; </example> -An address can be specified as a domain name or IP address, -and an optional port (1.3.1, 1.2.2). +The address can be specified as a domain name or IP address, +with an optional port (1.3.1, 1.2.2). If port is not specified, the port 53 is used. Name servers are queried in a round-robin fashion. <note> @@ -2137,6 +2137,9 @@ Specifying name servers using IPv6 addresses is supported starting from versions 1.3.1 and 1.2.2. </note> +</para> + +<para id="resolver_ipv6"> By default, nginx will look up both IPv4 and IPv6 addresses while resolving. If looking up of IPv6 addresses is not desired, the <literal>ipv6=off</literal> parameter can be specified. @@ -2144,6 +2147,9 @@ Resolving of names into IPv6 addresses is supported starting from version 1.5.8. </note> +</para> + +<para id="resolver_valid"> By default, nginx caches answers using the TTL value of a response. An optional <literal>valid</literal> parameter allows overriding it: <example>