Skip to content

Commit 41f7b2e

Browse files
committed
changes
1 parent f921d3b commit 41f7b2e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/app-service/overview-name-resolution.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ If you require fine-grained control over name resolution, App Service allows you
4242
|dnsRetryAttemptTimeout|3|1-30|Timeout before retrying or failing. Timeout also defines the time to wait for secondary server results if the primary doesn't respond|
4343

4444
>[!NOTE]
45-
> Changing name resolution behavior is not supported on Windows Container apps
45+
> * Changing name resolution behavior is not supported on Windows Container apps
46+
> * To enable DNS caching on Web App for Containers and Linux-based apps you must add the app setting `WEBSITE_ENABLE_DNS_CACHE`
4647
4748
Configure the name resolution behavior by using these CLI commands:
4849

@@ -60,9 +61,9 @@ az resource show --resource-group <group-name> --name <app-name> --query propert
6061

6162
## Limitations
6263

63-
Windows code apps used to sort the servers when using virtual network integration and the virtual network has custom DNS servers configured. It also used to only use the first two custom DNS servers in the sorted list. This behavior has changed for new apps, but hasn't changed for existing apps to maintain backwards compatibility.
64+
Windows code apps used to sort the servers when using virtual network integration and the virtual network has custom DNS servers configured. The sorting could influence what server was the primary DNS server. This behavior has changed for new apps to use the order in which they're configured, but hasn't changed for existing apps to maintain backwards compatibility.
6465

65-
If you would like to adopt the new default behavior for your Windows code apps, you can run this CLI command:
66+
If you would like to adopt the new default behavior for your existing Windows code apps, you can run this CLI command:
6667

6768
```azurecli-interactive
6869
az rest --method POST --uri <app-resource-id>/disableVirtualNetworkDnsSorting?api-version=2022-03-01

0 commit comments

Comments
 (0)