Using URL or IP to obtain server name
hello,
i want to make a program that allows a user to enter a URL or ip address to find the server name, it is for my co-op workplace, and we have over 300 clients with over 15 servers and i am currently obtaining this information manualy like so "Run>>cmd>>ping (URL)>>nslookup (IP)" then it gives me the server name, the ip is btained from the "ping (URL)"
if someone can show me the code on how to do this with a simple textbox for url, textbox for ip and a lable for the server name with a command button to execute the code i would greatly appreciate it
TIA
GiantKirby
Re: Using URL or IP to obtain server name
Re: Using URL or IP to obtain server name
ah, thankyou very much, the NSLOOKUP was perfect, i got exactly what i wanted for that paart, but the DNS lookup awas a different story, its just a bit too complex for me to understand to use, is it possible to get something that just gives the server name by providing the ip address?
TIA
GK