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 translations Article translations
Article ID: 842575 - View products that this article applies to.
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
Expand all | Collapse all

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:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Parameters\IP
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:
  1. Click Start, click Run, type regedt32, and then click OK.
  2. Expand the following subkey:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RemoteAccess\Parameters\IP
  3. Click the IP folder. On the Edit menu, point to New, and then click String Value.
  4. Type WINSNameServer, and then press ENTER.
  5. In the Name column, double-click WINSNameServer to open the Edit String dialog box.
  6. In the Value data box, type the IP address of the WINS server that you want to use, and then click OK.
  7. Click the IP folder. On the Edit menu, point to New, and then click String Value.
  8. Type WINSNameServerBackup, and then press ENTER.
  9. In the Name column, double-click WINSNameServerBackup to open the Edit String dialog box.
  10. In the Value data box, type the IP address of the secondary WINS server that you want to use, and then click OK.
  11. Click the IP folder. On the Edit menu, point to New, and then click Multi-String Value.
  12. Type DNSNameServers, and then press ENTER.
  13. In the Name column, double-click DNSNameServers to open the Edit Multi-String dialog box.
  14. 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.
  15. Quit Registry Editor.
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

Properties

Article ID: 842575 - Last Review: October 30, 2006 - Revision: 1.4
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)
Keywords: 
kbwinservnetwork kbnetwork kbinfo KB842575

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com