Microsoft Knowledge Base Email Alertz

(297795) - This step-by-step article demonstrates how to enable reverse Domain Name System (DNS) lookup for Internet Information Services (IIS). Enable Reverse DNS Lookup WARNING : If you edit the metabase incorrectly, you can cause serious problems that may...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 297795 - Last Review: July 7, 2008 - Revision: 4.2

HOW TO: Enable Reverse DNS Lookup for IIS

This article was previously published under Q297795
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx (http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site:
http://www.iis.net/default.aspx?tabid=1 (http://www.iis.net/default.aspx?tabid=1)

On This Page

SUMMARY

This step-by-step article demonstrates how to enable reverse Domain Name System (DNS) lookup for Internet Information Services (IIS).

Enable Reverse DNS Lookup

WARNING: If you edit the metabase incorrectly, you can cause serious problems that may require you to reinstall any product that uses the metabase. Microsoft cannot guarantee that problems that result if you incorrectly edit the metabase can be solved. Edit the metabase at your own risk.

NOTE: Always back up the metabase before you edit it.

To enable reverse DNS lookup on IIS versions 4.0 and later, the EnableReverseDNS metabase entry must be set to TRUE.

When the EnableReverseDNS metabase entry is set to TRUE, the IP address of each Web client that connects to the IIS server is resolved to a DNS name, and the DNS name instead of the Web client IP address is placed in the IIS log files. Enabling reverse DNS also affects what CGI and ISAPI extensions see as a value of the RemoteHost variable.

For additional information about how to back up the registry, click the article number below to view the article in the Microsoft Knowledge Base:
300672  (http://kbalertz.com/Feedback.aspx?kbNumber=300672/EN-US/ ) HOW TO: Create a Metabase Backup in IIS 5

IIS 4.0

  1. Open a command prompt.
  2. Change the folder to %systemroot%\Inetsrv\Adminsamples.
  3. Type adsutil set w3svc/EnableReverseDNS TRUE, and then press ENTER.

IIS 5.0 and Later

  1. Open a command prompt.
  2. Change the folder to C:\Inetpub\Adminscripts.
  3. Type adsutil set w3svc/EnableReverseDNS TRUE, and then press ENTER.

Warnings

Enabling reverse DNS on your IIS server can affect the performance of your Web server and DNS servers. Some examples are:
  • Resources such as CPU utilization and network bandwidth may be taken up.
  • Client requests can take longer to process.
  • Client requests can be blocked if IP restrictions by DNS domain names are used.

REFERENCES

For additional information about performing reverse DNS lookup, click the article numbers below to view the articles in the Microsoft Knowledge Base:
245574  (http://kbalertz.com/Feedback.aspx?kbNumber=245574/EN-US/ ) HOWTO: Configure REMOTE_HOST to Perform a Reverse DNS Lookup in IIS
For additional information about restricting site access by IP address or domain name, click the article number below to view the article in the Microsoft Knowledge Base:
324066  (http://kbalertz.com/Feedback.aspx?kbNumber=324066/EN-US/ ) HOW TO: Restrict Site Access by IP Address or Domain Name

APPLIES TO
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
  • Microsoft Internet Information Services version 5.1
  • Microsoft Internet Information Services 6.0
Keywords: 
kbhowtomaster KB297795
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate