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

ID: Q205247


The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0
  • Microsoft Routing & Remote Access Service Update for Windows NT Server version 4.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

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: 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. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

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: valid IP address (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: valid IP address (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: WIDNSNameServers
Value Type: REG_MULTI_SZ (multiple number string)
Valid Range: valid IP address (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.


REFERENCES

For additional information, please click the article numbers below to view the articles in the Microsoft Knowledge Base:

Q160699 Understanding DHCP IP Address Assignment for RAS Clients
Q200211 DUN Clients Do Not Receive DNS Domain Name over RAS/RRAS
For more information, please see the "Windows NT Networking Supplement," Appendix A, page 315 on IP parameters. This is included as part of the original documentation for Windows NT 4.0.

Additional query words: wins RAS

Keywords : kbenv kbnetwork
Version : winnt:4.0
Platform : winnt
Issue type : kbinfo


Last Reviewed: August 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.