WebApp custom DNS with private DNS Name
Custom DNS HostName for a WebApp is working exactly in the same way in both Azure and Azure Stack, with both ownership and record check against a public Internet DNS server. That's pretty cool for public facing web applications, but represents a security issue for :
1)Intranet applications.(hosted on Azure or AzureStack)
- Custom Domain Names makes sence not only for Internet but Intranet too.
- We don't want to expose intranet application names publicly to the wild...
- Each customer would like to have it's own custom domain for its applications, and not use the *.appservice.local.azurestack.external or other default DNS name choosed by its AzureStack Hosting provider.
This is still on our backlog for review, this did not make it into update 2. We will continue to review this for Azure App Service on Azure Stack.
We are also looking for similar feature where we would like to use Azure Function with private custom domains in Azure Private DNS zone managed and route completely by customers.
Richard Eicher commented
We keep saying this will be added to Azure Stack. But what about public Azure where a customer wants to host an intranet site with private zones providing DNS resolution for staff members?
az webapp config appsettings set --resource-group myResourceGroup --name <app_name> --settings WEBSITES_PORT=8000
This example shows that we can add the WEBSITES_PORT to run in a custom port
We also need to know how to send --dns to be able to configure custom DNS
This item is still on our backlog for review, but did not make it into update 3. We will continue to review this for Azure App Service on Azure Stack.