From 14d1628ed0628f19b1f352c0b9552acc38749374 Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Wed, 22 Jul 2020 18:50:49 +0000 Subject: [PATCH] Add use_tcp_for_dns_lookups option to Dynamic Forward Proxy DNS cache (#12217) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We will want the same DNS configuration options from the Cluster in the Dynamic Forward Proxy’s DNS configuration. Signed-off-by: Justin Mazzola Paluska Mirrored from https://github.com/envoyproxy/envoy @ af8aa37c2148c7dc9a064f36e8d14d0859d35cb2 --- .../common/dynamic_forward_proxy/v3/dns_cache.proto | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto b/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto index d801e83f..79cd5834 100644 --- a/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto +++ b/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto @@ -27,7 +27,7 @@ message DnsCacheCircuitBreakers { // Configuration for the dynamic forward proxy DNS cache. See the :ref:`architecture overview // ` for more information. -// [#next-free-field: 8] +// [#next-free-field: 9] message DnsCacheConfig { option (udpa.annotations.versioning).previous_message_type = "envoy.config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig"; @@ -95,4 +95,8 @@ message DnsCacheConfig { // If `envoy.reloadable_features.enable_dns_cache_circuit_breakers` is enabled, // envoy will use dns cache circuit breakers with default settings even if this value is not set. DnsCacheCircuitBreakers dns_cache_circuit_breaker = 7; + + // [#next-major-version: Reconcile DNS options in a single message.] + // Always use TCP queries instead of UDP queries for DNS lookups. + bool use_tcp_for_dns_lookups = 8; }