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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nslookup in C#

Status
Not open for further replies.

postrand

IS-IT--Management
Apr 29, 2003
8
US
I have to write a program that will basically do this command:

"nslookup (webaddress) [server]" and return errors if there are any.

I've been trying to use the DNS.GetHostEntry method but it isn't working for me.

Is there something I'm missing?

I'm sorry if this is a stupid question. I'm new to C#

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top