Attribute

EnableDNSLookup (edu)

Purpose

Specifies whether the driver performs a DNS lookup to discover member nodes of a cluster when connecting. If the driver discovers cluster nodes in the specified domain, the driver will attempt to connect to an available node.

Valid Values

0 | 1

Behavior

If set to 1 (true), at connection, the driver performs a DNS lookup on the host specified by the Host Name (HostName) option. When a domain is specified by Host Name, the driver will attempt to discover the nodes of a cluster, then connect to an available node. If you are not connecting to a clustered environment, the driver will connect to the server specified by ServerName.

If set to 0 (false), the driver does not attempt to perform a DNS lookup at connection. Instead, it will connect directly to the host specified by the Host Name option. Specify this value if you are not connecting to clustered environment.

Notes

  • Setting EnableDNSLookup to 1 (enabled) does not prohibit you from connecting to a non-clustered environment; however, the driver will still perform the lookup at connection. To improve connection time, you can disable the lookup (EnableDNSLookup=0) if you are not connecting to a clustered environment.

Default Value

1 (true)