简体   繁体   English

哪个 DNS 配置用于 Azure APIM 内部、公共 DNS 或私有 DNS?

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

Thanks for A2A,感谢A2A,

I am configuring my Azure APIM service as internal inside VNET & I am integrating it with Azure Application Gateway.我正在将我的 Azure APIM 服务配置为 VNET 内部,并且我正在将它与 Azure 应用程序网关集成。 Thing is I didn't get which DNS to configure for Custome DOmain setting Public DNS or Private DNS zones.事情是我没有得到哪个 DNS 来配置自定义域设置公共 DNS 或私有 DNS 区域。

Based on Create a public IP address for the front-end configuration , you should configure Public IP and Configure the front-end IP with it .基于为前端配置创建公共 IP 地址,您应该配置公共 IP 并使用它配置前端 IP

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

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

And once the gateway is created, you need to CNAME the API Management proxy hostname to the public DNS name of the Application Gateway resource .创建网关后,您需要将 API 管理代理主机名 CNAME 为应用程序网关资源的公共 DNS名称

So you can choose public DNS based on the official document.所以可以根据官方文档选择public DNS。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM