comparison xml/en/docs/http/ngx_http_core_module.xml @ 1031:f7f23f5928ef

Documented "resolver ipv6=" parameter.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 13 Dec 2013 21:02:08 +0400
parents e47971bf6619
children e9c485d6cc0c
comparison
equal deleted inserted replaced
1030:8bbfe30a36c1 1031:f7f23f5928ef
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_core_module" 10 <module name="Module ngx_http_core_module"
11 link="/en/docs/http/ngx_http_core_module.html" 11 link="/en/docs/http/ngx_http_core_module.html"
12 lang="en" 12 lang="en"
13 rev="25"> 13 rev="26">
14 14
15 <section id="directives" name="Directives"> 15 <section id="directives" name="Directives">
16 16
17 <directive name="aio"> 17 <directive name="aio">
18 <syntax> 18 <syntax>
1954 </directive> 1954 </directive>
1955 1955
1956 1956
1957 <directive name="resolver"> 1957 <directive name="resolver">
1958 <syntax> 1958 <syntax>
1959 <value>address</value> ... 1959 <value>address</value> ...
1960 [<literal>valid</literal>=<value>time</value>]</syntax> 1960 [<literal>valid</literal>=<value>time</value>]
1961 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>]</syntax>
1961 <default/> 1962 <default/>
1962 <context>http</context> 1963 <context>http</context>
1963 <context>server</context> 1964 <context>server</context>
1964 <context>location</context> 1965 <context>location</context>
1965 1966
1975 Name servers are queried in a round-robin fashion. 1976 Name servers are queried in a round-robin fashion.
1976 <note> 1977 <note>
1977 Before version 1.1.7, only a single name server could be configured. 1978 Before version 1.1.7, only a single name server could be configured.
1978 Specifying name servers using IPv6 addresses is supported 1979 Specifying name servers using IPv6 addresses is supported
1979 starting from versions 1.3.1 and 1.2.2. 1980 starting from versions 1.3.1 and 1.2.2.
1981 </note>
1982 By default, nginx will look up both IPv4 and IPv6 addresses while resolving.
1983 If looking up of IPv6 addresses is not desired,
1984 the <literal>ipv6=off</literal> parameter can be specified.
1985 <note>
1986 Resolving of names into IPv6 addresses is supported
1987 starting from version 1.5.8.
1980 </note> 1988 </note>
1981 By default, nginx caches answers using the TTL value of a response. 1989 By default, nginx caches answers using the TTL value of a response.
1982 An optional <literal>valid</literal> parameter allows overriding it: 1990 An optional <literal>valid</literal> parameter allows overriding it:
1983 <example> 1991 <example>
1984 resolver 127.0.0.1 [::1]:5353 valid=30s; 1992 resolver 127.0.0.1 [::1]:5353 valid=30s;