为 Azure APIM 内部配置哪个 DNS,Public DNS 或私有 DNS?

Which DNS to configure for Azure APIM Internal, Public DNS or Private DNS?

感谢 A2A,

我正在将我的 Azure APIM 服务配置为 VNET 的内部服务,并且我正在将它与 Azure 应用程序网关集成。事情是我没有得到为 Custome DOmain 设置配置哪个 DNS Public DNS 或私有 DNS 区域。

基于Create a public IP address for the front-end configuration, you should configure Public IP and Configure the front-end IP with it.

$publicip = New-AzPublicIpAddress -ResourceGroupName $resGroupName -name "publicIP01" -location $location -AllocationMethod Dynamic

$fipconfig01 = New-AzApplicationGatewayFrontendIPConfig -Name "frontend1" -PublicIPAddress $publicip

创建网关后,您需要CNAME the API Management proxy hostname to the public DNS name of the Application Gateway resource

所以可以根据官方文档选择publicDNS