Bug Description
There is a ServiceEntry for example.com, port 9444 as TCP protocol.
HTTP requests to example.com:80 will also succeed.
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
name: external-auto
spec:
hosts:
- example.com
ports:
- name: tcp
number: 9444
protocol: TCP
resolution: DNS
After I enable ISTIO_META_DNS_AUTO_ALLOCATE, HTTP requests to example.com:80 always failed. Got 503 connection failure
Istio allocs a new IP for example.com. Destination of connections to this host will be changed to this IP and passthrough cluster will use ORIGIN DST to connect and fail.
Version
client version: 1.12.6
control plane version: 1.12.6
data plane version: 1.12.6
Additional Information
No response