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

This resolver uses a single background thread to do resolutions. As such, it is not currently advised for use in situations requiring a high resolution rate. A thread pool can be added in the future if needed.

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_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.