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.
- 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.
- dns_resolver_options
(config.core.v3.DnsResolverOptions) Configuration of DNS resolver option flags which control the behavior of the DNS resolver.