Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resolve DNS validity

Status
Not open for further replies.

stardv

Technical User
May 27, 2004
33
US
I need to determine if a given domain exists or not. How can I code this in C#. I am given a domain like msn.com. All I need is to run the code passing domain and return if it valid or not. I guess I should to use Dns.GetHostByName, but I am not sure what would be the best solution for it.

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top