Solved

ASP remote_host help

Posted on 2013-06-04
1
507 Views
Last Modified: 2013-06-20
Getting back into web after about 10 years. Setting up an intranet for my company. Windows 2008 R2, IIS.

I have a basic form setup for tech support and I'm trying to automatically get the computers name into the database, and email that's sent to me.

Seems like IIS wont do a reverse lookup.

These dont work (I have ColdFusion installed as well)
 <%Response.Write(Request.ServerVariables("remote_host"))%>
CGI.remote_host

Both just return the ip address. How do I get the hostname?

I ran this in IIS to supposedly turn on reverse lookups.
cscript adsutil.vbs set /w3svc/EnableReverseDNS "TRUE"

Thanks for any help
0
Comment
Question by:cb_it
1 Comment
 
LVL 15

Accepted Solution

by:
pateljitu earned 500 total points
Comment Utility
Running cscript command "cscript adsutil.vbs set /w3svc/EnableReverseDNS "TRUE" for IIS 7 will not work.

Please see following article to enable "IP and Domain Restrictions" role service on windows 2008 server

http://www.expta.com/2010/01/how-to-enable-reverse-dns-lookup-in-iis.html

refer to this article for enabling "IP and Domain Restrictions"
http://www.iis.net/configreference/system.webserver/security/ipsecurity
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now