getaddrinfo DNS resolver (proto)
This extension has the qualified name envoy.network.dns_resolver.getaddrinfo
Note
This extension is intended to be robust against both untrusted downstream and upstream traffic.
Tip
This extension extends and can be used with the following extension category:
This extension must be configured with one of the following type URLs:
extensions.network.dns_resolver.getaddrinfo.v3.GetAddrInfoDnsResolverConfig
[extensions.network.dns_resolver.getaddrinfo.v3.GetAddrInfoDnsResolverConfig proto]
Configuration for getaddrinfo DNS resolver. This resolver will use the system’s getaddrinfo() function to resolve hosts.
Attention
Resolutions currently use a hard coded TTL of 60s because the getaddrinfo() API does not provide the actual TTL. Configuration for this can be added in the future if needed.
{
"num_retries": {...},
"num_resolver_threads": {...}
}
- num_retries
(UInt32Value) Specifies the number of retries before the resolver gives up. If not specified, the resolver will retry indefinitely until it succeeds or the DNS query times out.
- num_resolver_threads
(UInt32Value) Specifies the number of threads used to resolve pending DNS queries. If not specified, one thread is used.