<p>I have a kubernetes service running on Azure. After the deployment and service are created, the service publishes an External-IP address and I am able to access the service on that IP:Port.</p>

<p>However, I want to access the service through a regular domain name. I know that the kubernetes cluster running on Azure has its own DNS, but how can I figure out what the service DNS name is???</p>

<p>I am running multiple services, and they refer to one another using the &lt;_ServiceName>.&lt;_Namespace>.svc.cluster.local naming convention, but if I attempt to access the Service using &lt;_ServiceName>.&lt;_Namespace>.svc.&lt;_kubernetesDNS>.&lt;_location>.azureapp.com, it doesnt work.</p>

<p>Any help would be greatly appreciated.</p>

<p>In Azure, you can use the "Public IP addresses" resource and associate public Ip that is being used by your service, to a DNS name under the default Azure DNS Namespace : <code>.location.couldapp.azure.com</code>.
eg: <code>demo.k8s.service.centralindia.couldapp.azure.com</code></p>

<p>Note: The Dns record should be unique.</p>

<p>Else try creating Azure DNS to create your own domain.</p>

<p><a href="https://i.stack.imgur.com/FxWJy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FxWJy.png" alt="associating a public Ip to default dns record provided by azure "></a></p>
