Cluster_domain doesn't work as expected

We have a cluster with customized cluster domain(“example.com”) instead of default “cluster.local”, and then setup “istio-demo.yaml”, it looks like everything is working. We also tried to customze the istio-demo with our cluster domain(example.com) by add --set global.proxy.clusterDomain="example.com", we also found that everything is working.

So the question is that Is the field “clusterDomain” for “global.proxy” taking effect in Istio?

Also there is another field in values.yaml called “trustDomain”, can we set a different value from “clusterDomain”, how does it work, the document is confused.