How to get IP address from giving hostname in ASP?

M

Microlong®

Currently, I want to get the IP address from giving hostname in the Active
Server Page. I know the hostname, I want to get the IP address via hostname
in an ASP page.
 
E

Evertjan.

=?Utf-8?B?TWljcm9sb25nwq4=?= wrote on 12 okt 2005 in
microsoft.public.inetserver.asp.general:
Currently, I want to get the IP address from giving hostname in the
Active Server Page. I know the hostname, I want to get the IP address
via hostname in an ASP page.

nslookup.exe

but you might compromize your server's security, if you are not caraful
with the necessary changes.
 
E

Evertjan.

=?Utf-8?B?TWljcm9sb25nwq4=?= wrote on 12 okt 2005 in
microsoft.public.inetserver.asp.general:
Is there any method or object to support this utiltiy tool?

[Please do not toppost on usenet]

You could run nslookup in a shell and read the standard-out via a temporary
file, I suppose.

Examples are found via Google.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top