getaddrinfo DNS resolver (proto)¶
This extension has the qualified name
This extension is intended to be robust against both untrusted downstream and upstream traffic.
This extension extends and can be used with the following extension category:
This extension must be configured with one of the following type URLs:
Configuration for getaddrinfo DNS resolver. This resolver will use the system’s getaddrinfo() function to resolve hosts.
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.
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.