aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/environment_variables.md
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-29 09:07:14 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-03-29 09:07:14 -0700
commitd9bc2bf8252c6a29fb7fcc21be22f7ccd285e619 (patch)
treee992992b0b9995ccad398f7b7db37ff511d4efe4 /doc/environment_variables.md
parent1a7692683fc40579180dee72bb2863a9bca827b6 (diff)
parentd07275764717272c451ace7d7bd10c8d9a51ab6a (diff)
Merge github.com:grpc/grpc into atomic-timers
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 a92cadd8fc..47efb3a1d8 100644
--- a/doc/environment_variables.md
+++ b/doc/environment_variables.md
@@ -70,3 +70,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:
+ - native (default)- a DNS resolver based around getaddrinfo(), creates a new thread to
+ perform name resolution
+ - ares - a DNS resolver based around the c-ares library