Microsoft KB Archive/205247

= Overriding Automatic WINS and DNS Server Assignment for RAS/DUN Clients =

Article ID: 205247

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Routing and Remote Access Service Update for Windows NT Server 4.0

-



This article was previously published under Q205247



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
By default, a client dialing into a RAS server uses the WINS/DNS servers defined in the RAS server's configuration. You can override these settings by modifying registry values.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

The following parameters appear in the registry only during an active connection to a RAS server.

Change this parameter to override the primary WINS server assigned by RAS to clients:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\adaptername\ ParametersRemoteAccess\Parameters\IP

Value Name: WINSNameServer Value Type: REG_SZ (number string)

Valid Range:  (for example, 192.168.20.30)

Default: Blank

Description: This parameter controls whether Windows NT assigns an alternate primary WINS server to DUN/RAS clients.

This parameter defaults to 0.0.0.0 or false.

Change this parameter to override the secondary WINS server assigned by RAS to clients:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\adaptername \ParametersRemoteAccess\Parameters\IP

Value Name: WINSNameServerBackup

Value Type: REG_SZ (number string)

Valid Range:  (for example, 192.168.50.40)

Default: Blank

Description: This parameter controls whether Windows NT assigns an alternate secondary WINS server to DUN/RAS clients.

This parameter defaults to 0.0.0.0 or false.

Change this parameter to override the DNS server(s) assigned by RAS to clients:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\adaptername\ ParametersRemoteAccess\Parameters\IP

Value Name: DNSNameServers

Value Type: REG_MULTI_SZ (multiple number string)

Valid Range:  (for example, 192.168.60.41 192.168.70.44)

Default: Blank

Description: This parameter controls whether Windows NT assigns an alternate DNS server to DUN/RAS clients.

This parameter defaults to 0.0.0.0 or false.

