You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/inject-vnet-v2.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,12 +103,7 @@ When you [create](get-started-create-service-instance.md) a Premium v2 instance
103
103
104
104
When a Premium v2 API Management instance is injected in a virtual network, you have to manage your own DNS to enable inbound access to API Management.
105
105
106
-
While you have the option to use your own custom DNS server, we recommend:
107
-
108
-
1. Configure an Azure [DNS private zone](../dns/private-dns-overview.md).
109
-
1. Link the Azure DNS private zone to the virtual network.
110
-
111
-
Learn how to [set up a private zone in Azure DNS](../dns/private-dns-getstarted-portal.md).
title: Azure API Management workspace gateways - virtual network requirements
3
3
description: Learn about requirements for network resources when you integrate or inject your API Management workspace gateway in an Azure virtual network.
4
4
author: dlepow
5
5
6
6
ms.service: azure-api-management
7
7
ms.topic: concept-article
8
-
ms.date: 06/03/2025
8
+
ms.date: 06/18/2025
9
9
ms.author: danlep
10
10
---
11
11
@@ -91,13 +91,7 @@ Configure other NSG rules to meet your organization's network access requirement
91
91
92
92
For virtual network injection, you have to manage your own DNS to enable inbound access to your workspace gateway.
93
93
94
-
We recommend:
95
-
96
-
1. Configure an Azure [DNS private zone](../dns/private-dns-overview.md).
97
-
1. Link the Azure DNS private zone to the VNet into which you've deployed your workspace gateway.
98
-
99
-
Learn how to [set up a private zone in Azure DNS](../dns/private-dns-getstarted-portal.md).
@@ -108,9 +102,9 @@ When you create an API Management workspace, the workspace gateway is assigned a
108
102
109
103
### Configure DNS record
110
104
111
-
Create an A record in your DNS server to access the workspace from within your VNet. Map the endpoint record to the private VIP address of your workspace gateway.
105
+
Create an A record in your DNS server to access the workspace from within your virtual network. Map the endpoint record to the private VIP address of your workspace gateway.
112
106
113
-
For testing purposes, you might update the hosts file on a virtual machine in a subnet connected to the VNet in which API Management is deployed. Assuming the private virtual IP address for your workspace gateway is 10.1.0.5, you can map the hosts file as shown in the following example. The hosts mapping file is at `%SystemDrive%\drivers\etc\hosts` (Windows) or `/etc/hosts` (Linux, macOS).
107
+
For testing purposes, you might update the hosts file on a virtual machine in a subnet connected to the virtual network in which API Management is deployed. Assuming the private virtual IP address for your workspace gateway is 10.1.0.5, you can map the hosts file as shown in the following example. The hosts mapping file is at `%SystemDrive%\drivers\etc\hosts` (Windows) or `/etc/hosts` (Linux, macOS).
114
108
115
109
| Internal virtual IP address | Gateway hostname |
While you have the option to use a private or custom DNS server, we recommend:
10
+
11
+
1. Configure an Azure [DNS private zone](../articles//dns/private-dns-overview.md).
12
+
1. Link the Azure DNS private zone to the virtual network.
13
+
14
+
Learn how to [set up a private zone in Azure DNS](../articles/dns/private-dns-getstarted-portal.md).
15
+
16
+
> [!NOTE]
17
+
> If you configure a private or custom DNS resolver in the virtual network used for injection, you must ensure name resolution for Azure Key Vault endpoints (`*.vault.azure.net`). We recommend configuring an Azure private DNS zone, which doesn't require additional configuration to enable it.
0 commit comments