0

我在 Azure 中有一个应用服务(不在 ASE App Service Env 中)。它与 vnet 集成。

我有一个本地 API,此应用程序必须通过其内部本地 DNS 名称访问。

Azure 和本地位置之间有一条 Express Route。

如何通过 Express Route 通过其 DNS 名称访问本地 API?

如何配置网络连接?

如何解析 Azure 中的本地名称?

4

1 回答 1

0

There are different ways of achieving that, depending on your set-up.

You might need to use:

App Service

For App Services you must use Regional VNet integration.

If you need all traffic from the App Service to be routed via the Vnet, you must specify in the app service the setting WEBSITE_VNET_ROUTE_ALL = 1

https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet#regional-vnet-integration

DNS

https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances

Troubleshoot DNS in App Service

https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet#troubleshooting

Configure Peering

https://docs.microsoft.com/en-us/azure/expressroute/expressroute-howto-routing-portal-resource-manager

Route tables for VNets (not always necesary)

https://docs.microsoft.com/en-us/azure/virtual-network/manage-route-table

于 2020-04-02T23:10:08.263 回答