Hey John,
My MUA believes you used Internet Mail Service (5.5.2655.55)
to write the following on Tuesday, April 30, 2002 at 9:32:33 AM.
JE> How can I resolve a machine name from an IP address? The machine
JE> that the script is running on is NT4.
JE> I've tried this (with use Socket qw(:DEFAULT :crlf); at the top of the
JE> script)
JE> $machine_name = gethostbyaddr(inet_aton($userIP), AF_INET) or die "Can't
JE> resolve $userIP: $!\n"
JE> It works on the LAN, but not across a router to the remainder of our WAN.
JE> Any ideas?
I have used Net::DNS for something similar. It works well.
--
Tim@xxxxxxxxxx
MUA = TB! v1.60h (www.RitLabs.com/The_Bat)
Windows 2000 5.0.2195 (Service Pack 2)
Ever stop to think, and forget to start again?
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|