TransportServer.ExternalDNSServers Property

Gets or sets a list of external DNS servers to use for DNS lookups.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property ExternalDNSServers As MultiValuedProperty(Of IPAddress)
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As MultiValuedProperty(Of IPAddress)

value = instance.ExternalDNSServers

instance.ExternalDNSServers = value
[ParameterAttribute(Mandatory = false)]
public MultiValuedProperty<IPAddress> ExternalDNSServers { get; set; }

Property Value

Type: Microsoft.Exchange.Data.MultiValuedProperty<IPAddress>
A list of the IP addresses of external DNS servers. The default list is empty.

Remarks

The ExternalDNSServers property specifies the list of external DNS servers that the Transport server uses to resolve a remote domain. You must set the value of the ExternalDNSAdapterEnabled property to false to use the list of servers in the ExternalDNSServers property. If the ExternalDNSAdapterEnabled property is true, the DNS settings of the network adapter identified by the ExternalDNSAdapterGuid property are used instead.