SiteDnsConfig interface

Properties

dnsAltServer

Alternate DNS server to be used by apps. This property replicates the WEBSITE_DNS_ALT_SERVER app setting.

dnsLegacySortOrder

Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only. NOTE: This property will not be serialized. It can only be populated by the server.

dnsMaxCacheTimeout

Custom time for DNS to be cached in seconds. Allowed range: 0-60. Default is 30 seconds. 0 means caching disabled.

dnsRetryAttemptCount

Total number of retries for dns lookup. Allowed range: 1-5. Default is 3.

dnsRetryAttemptTimeout

Timeout for a single dns lookup in seconds. Allowed range: 1-30. Default is 3.

dnsServers

List of custom DNS servers to be used by an app for lookups. Maximum 5 dns servers can be set.

Property Details

dnsAltServer

Alternate DNS server to be used by apps. This property replicates the WEBSITE_DNS_ALT_SERVER app setting.

dnsAltServer?: string

Property Value

string

dnsLegacySortOrder

Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only. NOTE: This property will not be serialized. It can only be populated by the server.

dnsLegacySortOrder?: boolean

Property Value

boolean

dnsMaxCacheTimeout

Custom time for DNS to be cached in seconds. Allowed range: 0-60. Default is 30 seconds. 0 means caching disabled.

dnsMaxCacheTimeout?: number

Property Value

number

dnsRetryAttemptCount

Total number of retries for dns lookup. Allowed range: 1-5. Default is 3.

dnsRetryAttemptCount?: number

Property Value

number

dnsRetryAttemptTimeout

Timeout for a single dns lookup in seconds. Allowed range: 1-30. Default is 3.

dnsRetryAttemptTimeout?: number

Property Value

number

dnsServers

List of custom DNS servers to be used by an app for lookups. Maximum 5 dns servers can be set.

dnsServers?: string[]

Property Value

string[]