Microsoft KB Archive/810566

= Ipconfig.exe returns an incorrect IP address for the primary DNS server =

Article ID: 810566

Article Last Modified on 5/13/2005

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-





SYMPTOMS
When you try to verify the primary DNS server that is assigned to your Windows XP-based computer by using the Ipconfig.exe tool, the wrong DNS server may be returned.



CAUSE
This problem occurs because the Ipconfig.exe tool that is included in Windows XP is unaware of DNS configurations that are applied by using group policies. Ipconfig.exe returns the primary DNS IP address that is stored in the following registry key:

 

Note  is the network that is configured to use TCP/IP. The primary DNS server IP address that is assigned by using a Group Policy is stored in the following registry key:

 

Ipconfig.exe does not use or view this registry key.



WORKAROUND
To work around this problem, use a different tool, such as Netsh.exe, to verify the primary DNS IP address on your Windows XP-based computer. For additional information about Netsh.exe, click the following article number to view the article in the Microsoft Knowledge Base:

242468 How to Use the Netsh.exe Tool and Command-Line Switches



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbtshoot kbwinxpsp2fix kbpending kbfix kbbug KB810566

-

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

© Microsoft Corporation. All rights reserved.