Ipconfig.exe is a command-line tool you can use to renew and release leases obtained from a Dynamic Host Configuration Protocol (DHCP) server, and display your IP settings. This article describes these and other Ipconfig features.
The syntax for Ipconfig.exe is:
ipconfig [/? | /all | /release [adapter] | /renew [adapter] | /flushdns | /registerdns]
Collapse this tableExpand this table
|/?||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, click the article number below
to view the article in the Microsoft Knowledge Base:
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.
Article ID: 223413 - Last Review: February 23, 2007 - Revision: 3.2
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional Edition
- Microsoft Windows 2000 Datacenter Server
|kbhowto kbnetwork KB223413|