DNS Lookup Family
Summary
DNS Lookup Family sets the DNS IP address resolution policy.
How to configure
- Core
- Enterprise
- Kubernetes
Config file keys | Environment variables | Type | Default |
---|---|---|---|
dns_lookup_family | DNS_LOOKUP_FAMILY | string | V4_PREFERRED |
Examples
default_lookup_family: AUTO
DEFAULT_LOOKUP_FAMILY=V6_ONLY
Set DNS Lookup Family in the Console:
Kubernetes does not support dns_lookup_family
Options
Options | Description |
---|---|
DEFAULT (Enterprise only) | Defers to configuration settings or default if none specified |
AUTO | DNS resolver will first perform a lookup for addresses in the IPv6 family and fallback to a lookup for addresses in the IPv4 family |
V4_ONLY | DNS resolver will only perform a lookup for addresses in the IPv4 family |
V6_ONLY | DNS resolver will only perform a lookup for addresses in the IPv6 family |
V4_PREFERRED | DNS resolver will first perform a lookup for addresses in the IPv4 family and fallback to a lookup for addresses in the IPv6 family |
ALL | DNS 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.