# HG changeset patch # User Yaroslav Zhuravlev # Date 1658236202 -3600 # Node ID e06cf66a9f630d376699be0fd78b9fc64ef6256e # Parent 9383e934e546d1d6034cf19f56db7f7109bd533d Documented the "ipv4=off" parameter of the "resolver" directive. diff --git a/xml/en/docs/http/ngx_http_core_module.xml b/xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ + rev="100">
@@ -2180,6 +2180,7 @@ closed normally. address ... [valid=time] + [ipv4=on|off] [ipv6=on|off] [status_zone=zone] @@ -2206,7 +2207,8 @@ starting from versions 1.3.1 and 1.2.2. By default, nginx will look up both IPv4 and IPv6 addresses while resolving. -If looking up of IPv6 addresses is not desired, +If looking up of IPv4 or IPv6 addresses is not desired, +the ipv4=off (1.23.1) or the ipv6=off parameter can be specified. Resolving of names into IPv6 addresses is supported diff --git a/xml/en/docs/mail/ngx_mail_core_module.xml b/xml/en/docs/mail/ngx_mail_core_module.xml --- a/xml/en/docs/mail/ngx_mail_core_module.xml +++ b/xml/en/docs/mail/ngx_mail_core_module.xml @@ -10,7 +10,7 @@ + rev="20">
@@ -313,6 +313,7 @@ parameters --without-mail_imap_ address ... [valid=time] + [ipv4=on|off] [ipv6=on|off] [status_zone=zone] off @@ -344,7 +345,8 @@ starting from versions 1.3.1 and 1.2.2. By default, nginx will look up both IPv4 and IPv6 addresses while resolving. -If looking up of IPv6 addresses is not desired, +If looking up of IPv4 or IPv6 addresses is not desired, +the ipv4=off (1.23.1) or the ipv6=off parameter can be specified. Resolving of names into IPv6 addresses is supported diff --git a/xml/en/docs/stream/ngx_stream_core_module.xml b/xml/en/docs/stream/ngx_stream_core_module.xml --- a/xml/en/docs/stream/ngx_stream_core_module.xml +++ b/xml/en/docs/stream/ngx_stream_core_module.xml @@ -9,7 +9,7 @@ + rev="35">
@@ -341,6 +341,7 @@ the connection is closed. address ... [valid=time] + [ipv4=on|off] [ipv6=on|off] [status_zone=zone] @@ -362,7 +363,8 @@ Name servers are queried in a round-robi By default, nginx will look up both IPv4 and IPv6 addresses while resolving. -If looking up of IPv6 addresses is not desired, +If looking up of IPv4 or IPv6 addresses is not desired, +the ipv4=off (1.23.1) or the ipv6=off parameter can be specified. diff --git a/xml/ru/docs/http/ngx_http_core_module.xml b/xml/ru/docs/http/ngx_http_core_module.xml --- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ + rev="100">
@@ -2177,6 +2177,7 @@ open_file_cache_events on; адрес ... [valid=время] + [ipv4=on|off] [ipv6=on|off] [status_zone=зона] @@ -2204,8 +2205,9 @@ resolver 127.0.0.1 [::1]:5353; По умолчанию nginx будет искать как IPv4-, так и IPv6-адреса при преобразовании имён в адреса. -Если поиск IPv6-адресов нежелателен, -можно указать параметр ipv6=off. +Если поиск IPv4- или IPv6-адресов нежелателен, +можно указать параметр ipv4=off (1.23.1) или +ipv6=off. Преобразование имён в IPv6-адреса поддерживается начиная с версии 1.5.8. diff --git a/xml/ru/docs/mail/ngx_mail_core_module.xml b/xml/ru/docs/mail/ngx_mail_core_module.xml --- a/xml/ru/docs/mail/ngx_mail_core_module.xml +++ b/xml/ru/docs/mail/ngx_mail_core_module.xml @@ -10,7 +10,7 @@ + rev="20">
@@ -316,6 +316,7 @@ FreeBSD 9.0-STABLE) адрес ... [valid=time] + [ipv4=on|off] [ipv6=on|off] [status_zone=зона] off @@ -348,8 +349,9 @@ resolver 127.0.0.1 [::1]:5353; По умолчанию nginx будет искать как IPv4-, так и IPv6-адреса при преобразовании имён в адреса. -Если поиск IPv6-адресов нежелателен, -можно указать параметр ipv6=off. +Если поиск IPv4- или IPv6-адресов нежелателен, +можно указать параметр ipv4=off (1.23.1) или +ipv6=off. Преобразование имён в IPv6-адреса поддерживается начиная с версии 1.5.8. diff --git a/xml/ru/docs/stream/ngx_stream_core_module.xml b/xml/ru/docs/stream/ngx_stream_core_module.xml --- a/xml/ru/docs/stream/ngx_stream_core_module.xml +++ b/xml/ru/docs/stream/ngx_stream_core_module.xml @@ -9,7 +9,7 @@ + rev="35">
@@ -346,6 +346,7 @@ FreeBSD 9.0-STABLE) адрес ... [valid=время] + [ipv4=on|off] [ipv6=on|off] [status_zone=зона] @@ -368,8 +369,9 @@ resolver 127.0.0.1 [::1]:5353; По умолчанию nginx будет искать как IPv4-, так и IPv6-адреса при преобразовании имён в адреса. -Если поиск IPv6-адресов нежелателен, -можно указать параметр ipv6=off. +Если поиск IPv4- или IPv6-адресов нежелателен, +можно указать параметр ipv4=off (1.23.1) или +ipv6=off.