NetworkInterfaceDnsSettingsResponse

data class NetworkInterfaceDnsSettingsResponse(val appliedDnsServers: List<String>, val dnsServers: List<String>? = null, val internalDnsNameLabel: String? = null, val internalDomainNameSuffix: String, val internalFqdn: String)

DNS settings of a network interface.

Constructors

Link copied to clipboard
constructor(appliedDnsServers: List<String>, dnsServers: List<String>? = null, internalDnsNameLabel: String? = null, internalDomainNameSuffix: String, internalFqdn: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.

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

List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.

Link copied to clipboard

Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.

Link copied to clipboard

Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.

Link copied to clipboard

Fully qualified DNS name supporting internal communications between VMs in the same virtual network.