[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ASP remote_host help

Posted on 2013-06-04
1
Medium Priority
?
557 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
pateljitu earned 2000 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

649 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