How to Prevent Windows 2000 from Assigning WINS and DNS Addresses to RAS Clients

ID: Q232651


The information in this article applies to:
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional

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

In Windows 2000, the Remote Access Service assigns Windows Internet Naming Service (WINS) and Domain Name System (DNS) addresses to clients when they dial in. Clients register their IP addresses with these servers. The WINS and DNS addresses to be assigned to RAS clients are the same as the ones configured for the RAS server's network adapter, either statically or using Dynamic Host Configuration Protocol (DHCP). In Windows 2000, the network adapter used for this information is configurable on the TCP/IP tab in the properties for the RAS server. RAS always hands out WINS and DNS addresses to clients unless the option to do so is turned off in the registry.


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).

To prevent RAS from handing out WINS addresses, use Registry Editor to add a REG_DWORD value named SupressWINSNameServers to the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Parameter\IP
Set the value for SupressWINSNameServers to 1.

To prevent RAS from handing out DNS addresses, use Registry Editor to add a REG_DWORD value named SupressDNSNameServers to the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess \Parameters\IP
Set the value for SupressDNSNameServers to 1.

Additional query words:

Keywords : kbenv dun ntras
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: February 3, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.