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?
Should I use System.Net.Dns
to translate it first?