Resolver¶
config.core.v3.DnsResolverOptions¶
[config.core.v3.DnsResolverOptions proto]
Configuration of DNS resolver option flags which control the behavior of the DNS resolver.
{
"use_tcp_for_dns_lookups": "...",
"no_default_search_domain": "..."
}
- use_tcp_for_dns_lookups
(bool) Use TCP for all DNS queries instead of the default protocol UDP. Setting this value causes failure if the
envoy.restart_features.use_apple_api_for_dns_lookups
runtime value is true during server startup. Apple’s API only uses UDP for DNS resolution.
- no_default_search_domain
(bool) Do not use the default search domains; only query hostnames as-is or as aliases.
config.core.v3.DnsResolutionConfig¶
[config.core.v3.DnsResolutionConfig proto]
DNS resolution configuration which includes the underlying dns resolver addresses and options.
{
"resolvers": [],
"dns_resolver_options": "{...}"
}
- resolvers
(repeated config.core.v3.Address, REQUIRED) A list of dns resolver addresses. If specified, the DNS client library will perform resolution via the underlying DNS resolvers. Otherwise, the default system resolvers (e.g., /etc/resolv.conf) will be used. Setting this value causes failure if the
envoy.restart_features.use_apple_api_for_dns_lookups
runtime value is true during server startup. Apple’s API only allows overriding DNS resolvers via system settings.
- dns_resolver_options
(config.core.v3.DnsResolverOptions) Configuration of DNS resolver option flags which control the behavior of the DNS resolver.