NetworkInterfaceDnsSettings interface

DNS settings of a network interface.

Properties

appliedDnsServers

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. NOTE: This property will not be serialized. It can only be populated by the server.

dnsServers

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.

internalDnsNameLabel

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

internalDomainNameSuffix

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. NOTE: This property will not be serialized. It can only be populated by the server.

internalFqdn

Fully qualified DNS name supporting internal communications between VMs in the same virtual network. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

appliedDnsServers

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. NOTE: This property will not be serialized. It can only be populated by the server.

appliedDnsServers?: string[]

Property Value

string[]

dnsServers

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.

dnsServers?: string[]

Property Value

string[]

internalDnsNameLabel

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

internalDnsNameLabel?: string

Property Value

string

internalDomainNameSuffix

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. NOTE: This property will not be serialized. It can only be populated by the server.

internalDomainNameSuffix?: string

Property Value

string

internalFqdn

Fully qualified DNS name supporting internal communications between VMs in the same virtual network. NOTE: This property will not be serialized. It can only be populated by the server.

internalFqdn?: string

Property Value

string