How to assign azure custom dns to public ip

7/1/2018

I have resource group on azure containing virtual machine and kubernetes and load balancer and public ip address and etc.

I can access to my kubernetes app with direct public ip or public ip dns name. But problem is that i can't get azure custom dns (dns zone) working for my public ip. e.g. myapp.com

I have tried to assign public ip address in dns zone but not getting custom dns name working for my app.

-- Sami Pylkkänen
azure
azure-public-ip
dns
kubernetes

2 Answers

7/1/2018

2 options:
1. A record that points to public ip address explicitly
2. CNAME record that points to azure "internal" dns name

-- 4c74356b41
Source: StackOverflow

8/10/2018

From the description it looks like you haven't updated the name server settings of your domain (e.g. myapp.com) to use Azure DNS's name servers (where you have created a zone for that domain name) for query resolutions.

The article linked below has instructions on how to do it. Please let us know if this answers your question. https://docs.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns

-- Dilip L - MSFT
Source: StackOverflow