NetworkInterfaceDnsSettings Class
DNS settings of a network interface.
Constructor
NetworkInterfaceDnsSettings(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
dns_servers
|
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. |
|
applied_dns_servers
|
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. |
|
internal_dns_name_label
|
Relative DNS name for this NIC used for internal communications between VMs in the same virtual network. |
|
internal_fqdn
|
Fully qualified DNS name supporting internal communications between VMs in the same virtual network. |
|
internal_domain_name_suffix
|
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. |
Attributes
applied_dns_servers
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.
applied_dns_servers: list[str] | None
dns_servers
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.
dns_servers: list[str] | None
internal_dns_name_label
Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
internal_dns_name_label: str | None
internal_domain_name_suffix
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.
internal_domain_name_suffix: str | None
internal_fqdn
Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
internal_fqdn: str | None