Skip to main content
logoTetrate Service BridgeVersion: 1.10.x

DNS Resolution at Edge

If you use DNS hostname when configuring cluster-external-addresses annotation for EastWest gateway, you need to enable DNS resolution at XCP edge so that DNS resolution will happen at XCP Edge.

Enable DNS resolution at XCP edge

To enable DNS resolution at XCP edge, you will need to edit xcp component in ControlPlane CR or Helm values and add an environment variable ENABLE_DNS_RESOLUTION_AT_EDGE with value true:

spec:
components:
xcp:
...
kubeSpec:
overlays:
- apiVersion: install.xcp.tetrate.io/v1alpha1
kind: EdgeXcp
name: edge-xcp
patches:
...
- path: spec.components.edgeServer.kubeSpec.deployment.env[-1]
value:
name: ENABLE_DNS_RESOLUTION_AT_EDGE
value: "true"
...

Refer to Multi-cluster traffic failover with EastWest Gateways for how to enable EastWest routing .