title: How to set a Domain Name for a Load Balancer Service on AKS
body: <p>What is the process to assign a DNS record to a Load balanced service.</p>
  
  <p>I have created a simple service of Type LoadBalancer on AKS. The service gets a external IP assigned and points to pods hosting a sample hello world application.</p>
  
  <p>How do I browse my application using a DNS name, or setup the DNS name for the service in the first place. I can successfully browse to IP.</p>
  
  <p>Service yml</p>
  
  <pre><code>apiVersion: v1
  kind: Service
  metadata:
   name: transactionapi-svc
   labels:
     version: v1
  spec:
   type: LoadBalancer
   ports:
    - name: http
      port: 80
    - name: https
      port: 443
   selector:
    app: transaction-api
  </code></pre>