Skip to main content

DNS Lookup Family

Summary

DNS Lookup Family sets the DNS IP address resolution policy.

How to configure

Config file keysEnvironment variablesTypeDefault
dns_lookup_familyDNS_LOOKUP_FAMILYstringV4_PREFERRED

Examples

default_lookup_family: AUTO
DEFAULT_LOOKUP_FAMILY=V6_ONLY

Options

OptionsDescription
DEFAULT (Enterprise only)Defers to configuration settings or default if none specified
AUTODNS resolver will first perform a lookup for addresses in the IPv6 family and fallback to a lookup for addresses in the IPv4 family
V4_ONLYDNS resolver will only perform a lookup for addresses in the IPv4 family
V6_ONLYDNS resolver will only perform a lookup for addresses in the IPv6 family
V4_PREFERREDDNS resolver will first perform a lookup for addresses in the IPv4 family and fallback to a lookup for addresses in the IPv6 family
ALLDNS resolver will perform a lookup for both IPv4 and IPv6 families, and return all resolved addresses

See the Envoy docs for more information about these options.