NetworkInterfaceDnsSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET