TransportServer.ExternalDNSAdapterEnabled property
Gets or sets a value that indicates whether the server should use the external DNS server specified by the ExternalDNSAdapterGuid property.
Namespace: Microsoft.Exchange.Data.Directory.Management
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Public Property ExternalDNSAdapterEnabled As Boolean
Get
Set
'Usage
Dim instance As TransportServer
Dim value As Boolean
value = instance.ExternalDNSAdapterEnabled
instance.ExternalDNSAdapterEnabled = value
public bool ExternalDNSAdapterEnabled { get; set; }
Property value
Type: System.Boolean
true if the server should use the DNS server settings of the external network adapter specified by the ExternalDNSAdapterGuid property; otherwise, false to use the external DNS servers specified by the ExternalDNSServers property. The default value is true.
Remarks
When the ExternalDNSAdapterEnabled property is true, the server will use the DNS server settings of the external network adapter specified by the ExternalDNSAdapterGuid property to look up destinations outside the Exchange organization. If you want to specify a custom list of DNS servers for external DNS lookups, you list the servers in the ExternalDNSServers property and set the ExternalDNSAdapterEnabled property to false.