By default when enabled, pods are assigned a DNS A record in the form of pod-ip-address.my-namespace.pod.cluster.local .
For example, a pod with IP 1.2.3.4 in the namespace default with a DNS name of cluster.local would have an entry: 1-2-3-4.default.pod.cluster.local .
But the hostname is the Pod’s metadata.name value.
Is there a way to set the DNS A record to be the same metadata.name ?
Thanks