Are static DNS entries (created using ServiceEntry) available inside the istio-proxy?
This is my service:
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
name: jaeger-internal
namespace: my-ns
spec:
endpoints:
- address: a.b.c.d
hosts:
- jaeger.internal
location: MESH_EXTERNAL
ports:
- name: http
number: 9411
protocol: HTTP
resolution: STATIC
and DNS resolutions is working inside the main container
$ kubectl exec -n my-ns my-pod -c main -- bash -c "nslookup jaeger.internal"
Server: 172.20.0.10
Address: 172.20.0.10#53
but not inside the proxy
$ kubectl exec -n my-ns my-pod -c main -- istio-proxy -c "curl jaeger.internal"
curl: (6) Could not resolve host: jaeger.internal