Microsoft KB Archive/842575

= How to change the WINS and the DNS addresses that are assigned by Routing and Remote Access in Windows 2000 and in Windows Server 2003 =

Article ID: 842575

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Server
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)

-



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



INTRODUCTION
When a client computer connects to your network either through a dial-up connection or through a virtual private network (VPN) connection, the Routing and Remote Access service assigns the Windows Internet Naming Service (WINS) and the Domain Name System (DNS) IP addresses that must be used by the client. By default, the WINS and the DNS addresses that are assigned to the dial-up client or to the VPN client are the same addresses that are configured for the network adapter in the server that is running Routing and Remote Access.

In Microsoft Windows 2000 and later, you can configure the WINS and the DNS addresses on the server that is running Routing and Remote Access. By default, Routing and Remote Access assigns the WINS and the DNS addresses to clients unless this option is disabled in the registry.

Note To configure the WINS and the DNS addresses, click the TCP/IP tab of the network adapter properties on the server that is running Routing and Remote Access. For additional information about how to disable the option to assign the WINS and the DNS addresses to Routing and Remote Access clients, click the following article number to view the article in the Microsoft Knowledge Base:

232651 How to prevent Routing and Remote Access from assigning WINS and DNS addresses to clients



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.If you want to override the DNS and the WINS settings that are assigned by Routing and Remote Access from the server's network adapter, you can add values to the following registry subkey:

To override these settings, and to set the WINS and the DNS parameters that are passed to Routing and Remote Access clients, follow these steps:  Click Start, click Run, type regedt32, and then click OK. Expand the following subkey:

 Click the IP folder. On the Edit menu, point to New, and then click String Value. Type WINSNameServer, and then press ENTER. In the Name column, double-click WINSNameServer to open the Edit String dialog box. In the Value data box, type the IP address of the WINS server that you want to use, and then click OK. Click the IP folder. On the Edit menu, point to New, and then click String Value.</li> Type WINSNameServerBackup, and then press ENTER.</li> In the Name column, double-click WINSNameServerBackup to open the Edit String dialog box.</li> In the Value data box, type the IP address of the secondary WINS server that you want to use, and then click OK.</li> Click the IP folder. On the Edit menu, point to New, and then click Multi-String Value.</li> Type DNSNameServers, and then press ENTER.</li> In the Name column, double-click DNSNameServers to open the Edit Multi-String dialog box.</li> In the Value data box, type the IP addresses of the DNS servers that you want to use. Press ENTER after each IP address, and then click OK.</li> Quit Registry Editor.</li></ol>

Note Client computers that are running Microsoft Windows 2000 or Microsoft Windows XP may still receive DNS or WINS settings from the DHCPInform process. This is true if your server that is running Routing and Remote Access is configured as a DHCP relay agent. For additional information about the DHCP Relay Agent service, click the following article number to view the article in the Microsoft Knowledge Base:

232703 How to use DHCP to provide Routing and Remote Access clients with additional DHCP options

Additional query words: RAS RRAS

Keywords: kbwinservnetwork kbnetwork kbinfo KB842575

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.