aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/environment_variables.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/environment_variables.md')
-rw-r--r--doc/environment_variables.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/environment_variables.md b/doc/environment_variables.md
index 832762a5f5..460f91d6bd 100644
--- a/doc/environment_variables.md
+++ b/doc/environment_variables.md
@@ -67,3 +67,11 @@ some configuration as environment variables that can be set.
- DEBUG - log all gRPC messages
- INFO - log INFO and ERROR message
- ERROR - log only errors
+
+* GRPC_DNS_RESOLVER
+ Declares which DNS resolver to use. The default is ares if gRPC is built with
+ c-ares support. Otherwise, the value of this environment variable is ignored.
+ Available DNS resolver include:
+ - ares (default) - a DNS resolver based around the c-ares library
+ - native - a DNS resolver based around getaddrinfo(), creates a new thread to
+ perform name resolution