Not able to resolve hostnames of external server for TCP proxying #6948
Unanswered
bharanitharanm
asked this question in
Q&A
Replies: 3 comments 1 reply
-
|
are endpoints present for |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I tried by adding the endpoints for Since the host is external and is resolved via DNS, adding endpoints with IP is not possible. The user may not know the IP or it can change over time. Is there any work around for this problem? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Is TCPRoute + ExternalName Service currently supported by Envoy Gateway for dynamic DNS resolution? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Envoy not able to resolve hostnames deployed in Kubernetes cluster (K3S)
Verifying hostname resolution from busybox pod for testing
Configured Envoy for TCP proxy to external server using hostname,
Testing
Below error is logged in Envoy
edge-38ff3542bb059c6806df04b9c101f7d7:~ # echo "Test data" | nc 10.177.193.172 9007
edge-38ff3542bb059c6806df04b9c101f7d7:~ # kubectl logs -f envoy-compute-tcp-gateway-egress-ed54a08c-5cdfcf5898-t5bw5 -n compute --since 30s
Defaulted container "envoy" out of: envoy, shutdown-manager
{":authority":null,"bytes_received":0,"bytes_sent":0,"connection_termination_details":null,"downstream_local_address":"100.64.64.127:9007","downstream_remote_address":"100.64.64.1:58763","duration":0,"method":null,"protocol":null,"requested_server_name":null,"response_code":0,"response_code_details":null,"response_flags":"UH","route_name":null,"start_time":"2025-09-12T07:00:21.518Z","upstream_cluster":"tcproute/compute/tcp-proxy/rule/-1","upstream_host":null,"upstream_local_address":null,"upstream_transport_failure_reason":null,"user-agent":null,"x-envoy-origin-path":null,"x-envoy-upstream-service-time":null,"x-forwarded-for":null,"x-request-id":null}
Beta Was this translation helpful? Give feedback.
All reactions