# HG changeset patch # User Yaroslav Zhuravlev # Date 1572365965 -10800 # Node ID 4487310de7e7e7a107e9f6fe50f5f47a0f7d43c9 # Parent 721f78cff4efcc5ff56909c33082c5ac712689eb Added IDs to resolver parameters, minor language fixes in resolver. 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="87">
@@ -2128,8 +2128,8 @@ into addresses, for example: resolver 127.0.0.1 [::1]:5353; -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. @@ -2137,6 +2137,9 @@ Before version 1.1.7, only a single name Specifying name servers using IPv6 addresses is supported 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, the ipv6=off parameter can be specified. @@ -2144,6 +2147,9 @@ the ipv6=off paramete Resolving of names into IPv6 addresses is supported starting from version 1.5.8. + + + By default, nginx caches answers using the TTL value of a response. An optional valid parameter allows overriding it: 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="12">
@@ -302,8 +302,8 @@ For example: resolver 127.0.0.1 [::1]:5353; -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. @@ -311,6 +311,9 @@ Before version 1.1.7, only a single name Specifying name servers using IPv6 addresses is supported starting from versions 1.3.1 and 1.2.2. + + + By default, nginx caches answers using the TTL value of a response. An optional valid parameter allows overriding it: @@ -332,7 +335,7 @@ The parameter is available as part of ou commercial subscription. - + The special value off disables resolving. 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="29">
@@ -333,19 +333,19 @@ into addresses, for example: resolver 127.0.0.1 [::1]:5353; -An address can be specified as a domain name or IP address, -and an optional port. +The address can be specified as a domain name or IP address, +with an optional port. If port is not specified, the port 53 is used. Name servers are queried in a round-robin fashion. - + By default, nginx will look up both IPv4 and IPv6 addresses while resolving. If looking up of IPv6 addresses is not desired, the ipv6=off parameter can be specified. - + By default, nginx caches answers using the TTL value of a response. The optional valid parameter allows overriding it: 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="87">
@@ -2135,6 +2135,9 @@ resolver 127.0.0.1 [::1]:5353; Задание DNS-серверов с помощью IPv6-адресов поддерживается начиная с версий 1.3.1 и 1.2.2. + + + По умолчанию nginx будет искать как IPv4-, так и IPv6-адреса при преобразовании имён в адреса. Если поиск IPv6-адресов нежелателен, @@ -2143,6 +2146,9 @@ resolver 127.0.0.1 [::1]:5353; Преобразование имён в IPv6-адреса поддерживается начиная с версии 1.5.8. + + + По умолчанию nginx кэширует ответы, используя значение TTL из ответа. Необязательный параметр valid позволяет это переопределить: 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="12">
@@ -313,6 +313,9 @@ resolver 127.0.0.1 [::1]:5353; Задание DNS-серверов с помощью IPv6-адресов поддерживается начиная с версий 1.3.1 и 1.2.2. + + + По умолчанию nginx кэширует ответы, используя значение TTL из ответа. Необязательный параметр valid позволяет это переопределить: @@ -335,7 +338,7 @@ resolver 127.0.0.1 [::1]:5353 valid=30s; коммерческой подписки. - + Специальное значение off запрещает использование DNS. 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="29">
@@ -344,14 +344,14 @@ resolver 127.0.0.1 [::1]:5353; Серверы DNS опрашиваются циклически. - + По умолчанию nginx будет искать как IPv4-, так и IPv6-адреса при преобразовании имён в адреса. Если поиск IPv6-адресов нежелателен, можно указать параметр ipv6=off. - + По умолчанию nginx кэширует ответы, используя значение TTL из ответа. Необязательный параметр valid позволяет это переопределить: