The DnsResolveType enumeration is used in the Client class to define the hostname to IP address resolve policy.


Value Description
Always Hostname is resolved into IP address every time new connection to the server is established.

Please note that in this case establishing subsequent server connections will took more time than in the case when the Once option is used.
Once Hostname is resolved only one and cached IP address is used for all subsequent connections to the server.