SiteDnsConfigResponse

data class SiteDnsConfigResponse(val dnsAltServer: String? = null, val dnsLegacySortOrder: Boolean, val dnsMaxCacheTimeout: Int? = null, val dnsRetryAttemptCount: Int? = null, val dnsRetryAttemptTimeout: Int? = null, val dnsServers: List<String>? = null)

Constructors

Link copied to clipboard
constructor(dnsAltServer: String? = null, dnsLegacySortOrder: Boolean, dnsMaxCacheTimeout: Int? = null, dnsRetryAttemptCount: Int? = null, dnsRetryAttemptTimeout: Int? = null, dnsServers: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val dnsAltServer: String? = null

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

Link copied to clipboard

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

Link copied to clipboard
val dnsMaxCacheTimeout: Int? = null

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val dnsServers: List<String>? = null

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