Options for Ipconfig.exe in Windows 2000

ID: Q223413


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server


SUMMARY

Ipconfig.exe is a command-line tool you can use to renew and release leases obtained from a DHCP server, and display your IP settings. This article describes these and other Ipconfig features.


MORE INFORMATION

The syntax for Ipconfig.exe is:

ipconfig [/? | /all | /release [adapter] | /renew [adapter] | /flushdns | /registerdns]
Parameter Description
/? Display this help message
/all Display full configuration information
/release Release the IP address for the specified adapter
/renew Renew the IP address for the specified adapter
/flushdns Purge the DNS resolver cache
/registerdns Refresh all DHCP leases and re-register DNS names
/displaydns Display the contents of the DNS resolver cache


The first four switches are the same as those in Microsoft Windows NT 4.0 and earlier version. For additional information about these switches, please see the following article in the Microsoft Knowledge Base:
Q117662 IPCONFIG Diagnostic Utility: Parameters and Usage
  • The /flushdns switch flushes the list of locally cached DNS names. When a name is resolved from DNS, the client keeps it in the cache temporarily. This option removes the cached entries.


  • The /registerdns switch allows the client to re-register its dynamic DNS entries as well as renew the DHCP lease.


  • The /displaydns switch lists the contents of your resolved DNS name cache.


Additional query words: namecache

Keywords : kbnetwork kbtool
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.