Add use_tcp_for_dns_lookups option to Dynamic Forward Proxy DNS cache (#12217)

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 <justinmp@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ af8aa37c2148c7dc9a064f36e8d14d0859d35cb2
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent 78ef4c59f1
commit 14d1628ed0
  1. 6
      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
// <arch_overview_http_dynamic_forward_proxy>` 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;
}

Loading…
Cancel
Save