Dynamic forward proxy common configuration


[config.common.dynamic_forward_proxy.v2alpha.DnsCacheConfig proto]

Configuration for the dynamic forward proxy DNS cache. See the architecture overview for more information.

  "name": "...",
  "dns_lookup_family": "...",
  "dns_refresh_rate": "{...}",
  "host_ttl": "{...}",
  "max_hosts": "{...}"

(string, REQUIRED) The name of the cache. Multiple named caches allow independent dynamic forward proxy configurations to operate within a single Envoy process using different configurations. All configurations with the same name must otherwise have the same settings when referenced from different configuration components. Configuration will fail to load if this is not the case.


(Cluster.DnsLookupFamily) The DNS lookup family to use during resolution.


(Duration) The DNS refresh rate for currently cached DNS hosts. If not specified defaults to 60s.


(Duration) The TTL for hosts that are unused. Hosts that have not been used in the configured time interval will be purged. If not specified defaults to 5m.


(UInt32Value) The maximum number of hosts that the cache will hold. If not specified defaults to 1024.