local types = import 'types.libsonnet'; types.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheConfig .withDnsCacheCircuitBreaker(types.envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers) .withDnsFailureRefreshRate(types.envoy.config.cluster.v3.Cluster.RefreshRate) .withDnsLookupFamily(types.envoy.config.cluster.v3.Cluster.DnsLookupFamily.AUTO) .withDnsMinRefreshRate(types.google.protobuf.Duration) .withDnsQueryTimeout(types.google.protobuf.Duration) .withDnsRefreshRate(types.google.protobuf.Duration) .withDnsResolutionConfig(types.envoy.config.core.v3.DnsResolutionConfig) .withHostTtl(types.google.protobuf.Duration) .withKeyValueConfig(types.envoy.config.common.key_value.v3.KeyValueStoreConfig) .withMaxHosts(1) .withName('string') .withPreresolveHostnames([ types.envoy.config.core.v3.SocketAddress ]) .withTypedDnsResolverConfig(types.envoy.config.core.v3.TypedExtensionConfig) .withUseTcpForDnsLookups(false) ._validate()
Name | Type | One-of group | Required | Constraints |
---|---|---|---|---|
dns_cache_circuit_breaker | envoy.extensions.common.dynamic_forward_proxy.v3.DnsCacheCircuitBreakers |
|
||
dns_failure_refresh_rate | envoy.config.cluster.v3.Cluster.RefreshRate |
|
||
dns_lookup_family | envoy.config.cluster.v3.Cluster.DnsLookupFamily |
{"Enum":{"defined_only":true}}
|
||
dns_min_refresh_rate | google.protobuf.Duration |
{"Duration":{"gte":{"seconds":5}}}
|
||
dns_query_timeout | google.protobuf.Duration |
{"Duration":{"gt":{}}}
|
||
dns_refresh_rate | google.protobuf.Duration |
{"Duration":{"gte":{"nanos":1000000}}}
|
||
dns_resolution_config | envoy.config.core.v3.DnsResolutionConfig |
|
||
host_ttl | google.protobuf.Duration |
{"Duration":{"gt":{}}}
|
||
key_value_config | envoy.config.common.key_value.v3.KeyValueStoreConfig |
|
||
max_hosts | google.protobuf.UInt32Value |
{"Uint32":{"gt":0}}
|
||
name | string |
{"String_":{"WellKnown":null,"min_len":1}}
|
||
preresolve_hostnames | [] envoy.config.core.v3.SocketAddress |
|
||
typed_dns_resolver_config | envoy.config.core.v3.TypedExtensionConfig |
|
||
use_tcp_for_dns_lookups | bool |
|