How to Prevent Routing and Remote Access from Assigning WINS and DNS Addresses to Clients (232651)



The information in this article applies to:

  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q232651
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

The Routing and Remote Access service assigns Windows Internet Naming Service (WINS) and DNS addresses to clients when they dial in. Clients register their IP addresses with these servers. The WINS and DNS addresses that are assigned to dial-up or VPN clients are the same as the addresses that are configured for the Routing and Remote Access service server's network adapter, either statically or by using Dynamic Host Configuration Protocol (DHCP). Beginning in Windows 2000, you can configure the network adapter that is used for this information on the TCP/IP tab in the Routing and Remote Access service server properties. Routing and Remote Access service always hands out WINS and DNS addresses to clients unless the option to do so is turned off in the registry.

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.

To prevent Routing and Remote Access from handing out WINS addresses, use Registry Editor to add a REG_DWORD value named SuppressWINSNameServers to the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Parameters\IP

Set the value for SuppressWINSNameServers to 1.

To prevent Routing and Remote Access from handing out DNS addresses, use Registry Editor to add a REG_DWORD value named SuppressDNSNameServers to the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Parameters\IP

Set the value for SuppressDNSNameServers to 1.

Note If you are using Windows 2000 or Windows XP-based clients, the clients may still get DNS or WINS settings when they use DHCPInform if the Routing and Remote Access server is configured as a DHCP Relay Agent. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

232703 How to Use DHCP to Provide RAS Clients with DHCP Options


Modification Type:MajorLast Reviewed:8/20/2003
Keywords:kbDialUp kbenv kbhowto KB232651