Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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 (http://support.microsoft.com/kb/256986/EN-US/ ) Description of the Microsoft Windows Registry

↑ Back to the top


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.

↑ Back to the top


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

↑ Back to the top


Keywords: KB232651, kbhowto, kbenv, kbdialup

↑ Back to the top

Article Info
Article ID : 232651
Revision : 7
Created on : 2/27/2007
Published on : 2/27/2007
Exists online : False
Views : 643