共用方式為


NetworkInterfaceDnsSettings Class

Definition

DNS settings of a network interface.

public class NetworkInterfaceDnsSettings
type NetworkInterfaceDnsSettings = class
Public Class NetworkInterfaceDnsSettings
Inheritance
NetworkInterfaceDnsSettings

Constructors

NetworkInterfaceDnsSettings()

Initializes a new instance of the NetworkInterfaceDnsSettings class.

NetworkInterfaceDnsSettings(IList<String>, IList<String>, String, String, String)

Initializes a new instance of the NetworkInterfaceDnsSettings class.

Properties

AppliedDnsServers

Gets 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.

DnsServers

Gets or sets 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

Gets or sets relative DNS name for this NIC used for internal communications between VMs in the same virtual network.

InternalDomainNameSuffix

Gets 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.

InternalFqdn

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

Applies to