Share via


TransportServer.InternalDNSAdapterEnabled property

Gets or sets a value that indicates whether the server should use the external DNS server specified by the InternalDNSAdapterGuid property.

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

Syntax

'Declaration
Public Property InternalDNSAdapterEnabled As Boolean
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As Boolean

value = instance.InternalDNSAdapterEnabled

instance.InternalDNSAdapterEnabled = value
public bool InternalDNSAdapterEnabled { get; set; }

Property value

Type: System.Boolean
true if the server should use the DNS server settings of the internal network adapter specified by the InternalDNSAdapterGuid property; otherwise, false to use the internal DNS servers specified by the InternalDNSServers property. The default value is true.

Remarks

When the InternalDNSAdapterEnabled property is true, the server will use the DNS server settings of the internal network adapter specified by the InternalDNSAdapterGuid property to look up destinations inside the Exchange organization. If you want to specify a custom list of DNS servers for internal DNS lookups, list the servers in the InternalDNSServers property and set the InternalDNSAdapterEnabled property to false.

See also

Reference

TransportServer class

TransportServer members

Microsoft.Exchange.Data.Directory.Management namespace