Martin
asked on
$ENV{'REMOTE_HOST'} is not availible in IIS.
When I try to get $ENV{'REMOTE_HOST'} in my Perl-script it only returns the IP-address. Why? I use Internet Information Server. Is it some kind of setting needed to enable the DNS lookup?
ASKER
I wanted to know how I turned this setting on!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
name lookup for you, then you will receive the IP address.
Or if it cannot give you the logical name, then it could
also give you the IP address. I like to just use the
REMOTE_ADDR and do the lookup myself in my code when needed,
since it makes the http server faster if it doesn't have
do the lookup on the logical address for every page served.