Autodial Heuristics

Article translations Article translations
Article ID: 164249 - View products that this article applies to.
This article was previously published under Q164249
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SUMMARY

There are cases when the Autodial feature in Windows NT 4.0 will not be invoked. The following information describes how autodial works with various name resolution procedures.

MORE INFORMATION

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

For Winsock applications, Autodial is engaged through gethostbyname() and connect() failures only. This means that pinging an IP address will not invoke Autodial, because a ping sends ICMP packets. However, pinging a DNS hostname such as www.microsoft.com will invoke Autodial. This is because ping calls gethostbyname() to translate the DNS hostname into an IP address.

If you are connected to a LAN locally, Autodial will only engage when an attempt to reach an IP address has failed, and there is already a mapping for the address in the registry for Autodial.

Registry entries for Autodial mappings are located at the following location:
HKEY_CURRENT_USER\Software\Microsoft\RAS Autodial\Addresses


If you have booted a using a hardware profile that has no LAN adapter, or you have no LAN adapter, Autodial will engage regardless of whether the address is in its database or not.

Each entry under the \Addresses key includes a Network value, which corresponds with one RAS connectoid (such as 'NETWORK0') under the following Registry key:
HKEY_CURRENT_USER\Software\Microsoft\RAS Autodial\Networks


This Network value enables Autodial to know which RAS connection to dial to connect to the specified server.

The registry also holds a database for addresses it will ignore. The entries are located at:
HKEY_CURRENT_USER\Software\Microsoft\RAS Autodial \Control\DisabledAddresses


NOTE: The above registry key is one path; it has been wrapped for readability.

There are two types of address aliasing that Autodial applies when determining which RAS phonebook entry to dial:
  • Domain name aliasing: <name1>.microsoft.com is equivalent to <name2>.microsoft.com or any other hostname of the form *.microsoft.com.
  • WWW aliasing: www.microsoft.com is equivalent to www.netscape.com or any other hostname of the form 'www.*'.
This means that if the original address is not found in the database, then the aliasing rules are applied in attempt to find a suitable RAS phonebook entry.

Properties

Article ID: 164249 - Last Review: October 4, 2013 - Revision: 1.1
APPLIES TO
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbapi kbinfo kbnetwork kbwinsock KB164249

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com