Solved

ASP remote_host help

Posted on 2013-06-04
1
514 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
ID: 39219308
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

919 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

19 Experts available now in Live!

Get 1:1 Help Now