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/app-service/overview-name-resolution.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Name resolution in App Service
3
3
description: Overview of how name resolution (DNS) works for your app in Azure App Service.
4
4
author: madsd
5
5
ms.topic: conceptual
6
-
ms.date: 03/01/2023
6
+
ms.date: 04/03/2023
7
7
ms.author: madsd
8
8
---
9
9
@@ -35,15 +35,15 @@ Using the app setting `WEBSITE_DNS_ALT_SERVER`, you append a DNS server to end o
35
35
36
36
If you require fine-grained control over name resolution, App Service allows you to modify the default behavior. You can modify retry attempts, retry timeout and cache timeout. Changing behavior like disabling or lowering cache duration may influence performance.
|dnsRetryAttemptCount|1|1-5|Defines the number of attempts to resolve where one means no retries|
41
-
|dnsMaxCacheTimeout|30|0-60|Cache timeout defined in seconds. Setting cache to zero means you've disabled caching|
42
-
|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|
|dnsRetryAttemptCount|1|5|1-5|Defines the number of attempts to resolve where one means no retries.|
41
+
|dnsMaxCacheTimeout|30|0|0-60|Cache timeout defined in seconds. Setting cache to zero means you've disabled caching.|
42
+
|dnsRetryAttemptTimeout|3|1|1-30|Timeout before retrying or failing. Timeout also defines the time to wait for secondary server results if the primary doesn't respond.|
43
43
44
44
>[!NOTE]
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`
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`. This setting defaults to 30 seconds.
47
47
48
48
Configure the name resolution behavior by using these CLI commands:
49
49
@@ -63,4 +63,4 @@ az resource show --resource-group <group-name> --name <app-name> --query propert
0 commit comments