views:

220

answers:

0

Hi guys,

We have a cluster SQL Server and we use a SRV DNS entry to locate the service (i.e sql.mycompany.com).

MyCompany.com_tcp_http Service Location (SRV) [0][0][1433]sql.Mycompany.com

Now, how I can use the .NET SQLConnection to use this dns name (instead of the server name/IP)? Any ideas? or should I use System.Net.Dns to translate it first?

Thanks!