SiteDnsConfig Class

SiteDnsConfig.

Constructor

SiteDnsConfig(*args: Any, **kwargs: Any)

Variables

Name Description
dns_servers

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

dns_alt_server
str

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

dns_retry_attempt_timeout
int

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

dns_retry_attempt_count
int

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

dns_max_cache_timeout
int

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

dns_legacy_sort_order

Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only.

Attributes

dns_alt_server

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

dns_alt_server: str | None

dns_legacy_sort_order

Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only.

dns_legacy_sort_order: bool | None

dns_max_cache_timeout

0-60. Default is 30 seconds. 0 means caching disabled.

dns_max_cache_timeout: int | None

dns_retry_attempt_count

1-5. Default is 3.

dns_retry_attempt_count: int | None

dns_retry_attempt_timeout

1-30. Default is 3.

dns_retry_attempt_timeout: int | None

dns_servers

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

dns_servers: list[str] | None