using an appservices dns for VMs?

teklemis 1 Reputation point
2021-01-27T04:40:23.95+00:00

recently I purchased a domain via azure app services domain feature that runs through godaddy. Yet when I read documentations, it implies that azure can not register domains. So is there anyway to use an app services purchased dns for other resources like a vm or a loadbalancer?

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
634 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 14,021 Reputation points MVP
    2021-01-27T09:21:17.497+00:00

    Hi @teklemis

    Based on your request to Assign App Service domain to Azure VM or Azure Storage

    Azure VM from App Service in virtual network by private DNS

    After your app integrates with your VNet, it uses the same DNS server that your VNet is configured with. By default, your app won't work with Azure DNS Private Zones. To work with Azure DNS Private Zones, you need to add the following app settings:

    WEBSITE_DNS_SERVER with value 168.63.129.16
    WEBSITE_VNET_ROUTE_ALL with value 1

    Azure DNS Private Zones

    If a post helps to resolve your issue, please click the Accept the answer and Click Answered Vote as helpful . By marking a post as Answered and/or Helpful, you help others find the answer faster.

    0 comments No comments