<p>How can we use customized internal DNS for services and Pods? i.e along with <code>cluster.local</code> I wished to use <code>my-domain.local</code>. </p>

<p>For example, both <code>my-svc.my-namespace.svc.cluster.local</code> and <code>my-svc.my-namespace.svc.my-doamin.local</code> need to be resolved to same.</p>

Ravichandra
<p>You can not add your custom domain like that but you can use ingress to route traffic from your domain to the services using name based virtual hosting.</p>

<pre><code>foo.bar.com --|                 |-&gt; foo.bar.com service1:80
              | 178.91.123.132  |
bar.foo.com --|                 |-&gt; bar.foo.com service2:80
</code></pre>

<p><a href="https://kubernetes.io/docs/concepts/services-networking/ingress/#name-based-virtual-hosting" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/services-networking/ingress/#name-based-virtual-hosting</a></p>
