Skip to content

Commit de81578

Browse files
committed
atenet/egress: resolve upstream names on both address families
The egress Envoy pinned dns_lookup_family to V4_ONLY, so it asked only for A records. On an IPv6-only cluster no upstream name resolves and no actor can reach the internet. AUTO tries AAAA and falls back to A, so IPv4-only clusters behave as before. One step of the IPv6 egress work, and not the one that unblocks it -- actor egress still stops earlier, in atunnel's original-destination lookup.
1 parent 43fa6cc commit de81578

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎manifests/ate-install/atenet-egress-with-sdsmint.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ data:
236236
"@type": type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.FilterConfig
237237
dns_cache_config:
238238
name: egress_dns_cache
239-
dns_lookup_family: V4_ONLY
239+
dns_lookup_family: AUTO
240240
- name: envoy.filters.http.router
241241
typed_config:
242242
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
@@ -323,7 +323,7 @@ data:
323323
"@type": type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.FilterConfig
324324
dns_cache_config:
325325
name: egress_dns_cache
326-
dns_lookup_family: V4_ONLY
326+
dns_lookup_family: AUTO
327327
- name: envoy.filters.http.router
328328
typed_config:
329329
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
@@ -410,7 +410,7 @@ data:
410410
"@type": type.googleapis.com/envoy.extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig
411411
dns_cache_config:
412412
name: egress_dns_cache
413-
dns_lookup_family: V4_ONLY
413+
dns_lookup_family: AUTO
414414
# The MITM must not weaken upstream authentication. Envoy decrypted the
415415
# actor's TLS with a leaf of its own; it still sends the real SNI here
416416
# and still validates the real origin's certificate against the public
@@ -453,7 +453,7 @@ data:
453453
"@type": type.googleapis.com/envoy.extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig
454454
dns_cache_config:
455455
name: egress_dns_cache
456-
dns_lookup_family: V4_ONLY
456+
dns_lookup_family: AUTO
457457
# Envoy refuses to build a dynamic forward proxy cluster without
458458
# auto_sni and auto_san_validation unless this is set, because for
459459
# the usual TLS case resolving the host from a header and then not

‎manifests/ate-install/atenet-egress.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ data:
142142
"@type": type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.FilterConfig
143143
dns_cache_config:
144144
name: egress_dns_cache
145-
dns_lookup_family: V4_ONLY
145+
dns_lookup_family: AUTO
146146
- name: envoy.filters.http.router
147147
typed_config:
148148
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
@@ -179,7 +179,7 @@ data:
179179
"@type": type.googleapis.com/envoy.extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig
180180
dns_cache_config:
181181
name: egress_dns_cache
182-
dns_lookup_family: V4_ONLY
182+
dns_lookup_family: AUTO
183183
---
184184
apiVersion: apps/v1
185185
kind: Deployment

0 commit comments

Comments
 (0)