کد:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;891244

How to configure ISA Server 2004, ISA Server 2006 Windows Essential Business Server 2008 to skip name resolution in a Web proxy chaining configuration


In Microsoft Internet Security and Acceleration (ISA) Server 2004, ISA Server 2006, or Windows Essential Business Server 2008 you may experience poor performance when the downstream proxy cannot resolve the Internet names of your requests.

Note The downstream proxy is the first proxy in a Web proxy chaining configuration.

This article discusses how to configure ISA Server or Windows Essential Business Server 2008 to skip name resolution a Web proxy chaining configuration.

You can configure ISA Server or Windows Essential Business Server 2008 to skip name resolution by setting the SkipNameResolutionForAccessAndRoutingRules COM property to TRUE. To do this, follow these steps:
  1. Copy the following Visual Basic script to a text editor, such as Notepad. Then save the file to your local ISA Server-based or Windows Essential Business Server 2008 computer by using a .vbs file name extension.
    کد:
    ' Create the root object
    Dim root  ' The FPCLib.FPC root object
    Set root = CreateObject("FPC.Root")
    
    ' Declare the other objects needed.
    Dim isaArray     ' An FPCArray object
    Dim webProxy     ' An FPCWebProxy object
    Dim restartMask  ' A 32-bit bitmask of type FpcServices
    
    ' Get references to the array object
    ' and the Web proxy object. 
    Set isaArray = root.GetContainingArray()
    set webProxy = isaArray.ArrayPolicy.WebProxy
    
    ' Configure the Web proxy to skip name resolution
    ' while checking access and routing rules and save
    ' the new configuration. 
    webProxy.SkipNameResolutionForAccessAndRoutingRules = True
    restartMask = webProxy.GetServiceRestartMask
    webProxy.Save
    
    ' Restart the firewall service so that
    ' the change will take effect.
    isaArray.RestartServices restartMask
  2. Click Start, click Run, type cmd, and then click OK.
  3. At the command prompt, change to the folder that contains the .vbs file that you saved in step 1, type cscript Your_ISA_Script.vbs, and then press ENTER.

    Note Your_ISA_Script is a placeholder for the name of the file that you saved in step 1.




For additional information about the SkipNameResolutionForAccessAndRoutingRules COM property, visit the following Microsoft Web site: SkipNameResolutionForAccessAndRoutingRules Property of IFPCWebProxy (SkipNameResolutionForAccessAndRoutingRules Property of IFPCWebProxy)



APPLIES TO


  • Microsoft Internet Security and Acceleration Server 2004 Standard Edition
  • Microsoft Internet Security and Acceleration Server 2006 Enterprise Edition
  • Microsoft Internet Security and Acceleration Server 2006 Standard Edition
  • Windows Essential Business Server 2008 Standard
  • Microsoft Forefront Threat Management Gateway, Medium Business Edition








موضوعات مشابه: