考题解析 | Azure 专用终结点DNS解析


  题目

You have an Azure subscription that is linked to an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com. The subscription contains the following resources.
· An Azure App Service app named App1
· An Azure DNS zone named contoso.com
· An Azure private DNS zone named private.contoso.com
· A virtual network named Vnet

You create a private endpoint for App1. The record for the endpoint is registered automatically in Azure DNS. You need to provide a developer with the name that is registered in Azure DNS for the private endpoint. What should you provide?
A. app1.privatelink.azurewebsites.net
B. app1.contoso.com
C. app1.contoso.onmicrosoft.com
D. app1.private.contoso.com

  参考答案

A. app1.privatelink.azurewebsites.net

  参考解析

当创建一个Azure private endpoint(专用终结点)的时候,Azure 将在公共 DNS 上创建一个规范名称 DNS 记录 (CNAME)。 CNAME 记录将重定向DNS解析到专用域名,也可以用专用终结点的专用 IP 地址替代解析专用终结点。

使用公共 DNS 服务进行解析时,DNS 服务器将解析为专用终结点。 此过程不会影响现有应用程序,应用程序无需更改连接 URL。 但是,如果共享当前是使用公共终结点装载的,则需要重新装载该共享。 使用Azure建议的命名方案时,会自动生成专用终结点专用 DNS 区域配置。

...