Hi,

I need to obtain the sql server name of a server based on its DNS name.

I have looked at the system.net methods

Code:
servername = Dns.GetHostEntry("ReportServer")
                servername = Dns.GetHostByName("ReportServer")
But they return ReportServer.Group.Local rather than the sql server name SQL0001.

Is there another method I could try?