Skip to content

Commit d8b8c23

Browse files
Merge pull request #210951 from gabesmsft/patch-2
Update networking.md
2 parents 017b39b + ecc90ba commit d8b8c23

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

articles/container-apps/networking.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ The second URL grants access to the log streaming service and the console. If ne
150150
## Ports and IP addresses
151151

152152
>[!NOTE]
153-
> The subnet associated with a Container App Environment requires a CIDR prefix of /23.
153+
> The subnet associated with a Container App Environment requires a CIDR prefix of /23 or larger (/23, /22 etc.).
154154
155155
The following ports are exposed for inbound connections.
156156

@@ -190,6 +190,15 @@ If you're using the Azure CLI and the [platformReservedCidr](vnet-custom-interna
190190

191191
There's no forced tunneling in Container Apps routes.
192192

193+
## DNS
194+
- **Custom DNS**: If your VNET uses a custom DNS server instead of the default Azure-provided DNS server, configure your DNS server to forward unresolved DNS queries to `168.63.129.16`. [Azure recursive resolvers](../virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances.md#name-resolution-that-uses-your-own-dns-server) uses this IP address to resolve requests. If you do not use the Azure recursive resolvers, the Container Apps environment will not function.
195+
196+
- **VNET-scope ingress**: If you plan to use VNET-scope [ingress](./ingress.md#configuration) in an internal Container Apps environment, configure your domains in one of the following ways:
197+
198+
1. **Non-custom domains**: If you do not plan to use custom domains, create a private DNS zone that resolves the Container Apps environment's default domain to the static IP address of the Container Apps environment. You can use [Azure Private DNS](../dns/private-dns-overview.md) or your own DNS server. If you use Azure Private DNS, create a Private DNS Zone named as the Container App Environment’s default domain (`<UNIQUE_IDENTIFIER>.<REGION_NAME>.azurecontainerapps.io`), with an `A` record that points to the static IP address of the Container Apps environment.
199+
200+
1. **Custom domains**: If you plan to use custom domains, use a publicly resolvable domain to [add a custom domain and certificate](./custom-domains-certificates.md#add-a-custom-domain-and-certificate) to the container app. Additionally, create a private DNS zone that resolves the apex domain to the static IP address of the Container Apps environment. You can use [Azure Private DNS](../dns/private-dns-overview.md) or your own DNS server. If you use Azure Private DNS, create a Private DNS Zone named as the apex domain, with an `A` record that points to the static IP address of the Container Apps environment.
201+
193202
## Managed resources
194203

195204
When you deploy an internal or an external environment into your own network, a new resource group prefixed with `MC_` is created in the Azure subscription where your environment is hosted. This resource group contains infrastructure components managed by the Azure Container Apps platform, and shouldn't be modified. The resource group contains Public IP addresses used specifically for outbound connectivity from your environment and a load balancer. In addition to the [Azure Container Apps billing](./billing.md), you will be billed for the following:

0 commit comments

Comments
 (0)