Displays the current TCP/IP settings of the local machine.
ipconfig [/all | /release [
adaptername] | [/renew [
adaptername] | /flushdns | /displaydns | /registerdns | /showclassid
Displays the IP address, subnet mask, and default gateway for each interface on the machine.
Yields verbose output showing additional TCP/IP settings.
Releases an IP address acquired using DHCP. On a multihomed machine,
specify an adapter name using the name that appears for the adapter
when you type
ipconfig without parameters.
Requests a new IP address from a DHCP server (available only when the computer is configured as a DHCP client)
Displays the contents of the local DNS name cache on the client. When DNS resolves a DNS name into an IP address, the results are temporarily cached.
Flushes the list of locally cached DNS names on the client. Flushing the cache removes these mappings and can be useful when troubleshooting DNS-related problems. Flushing the DNS cache on the client doesn’t remove mappings that have been preloaded from the local Hosts file. (You must remove these mappings from the Hosts file to do this.)
Causes the client to reregister its hostname with DNS servers without restarting the client machine. This may also be used with Dynamic DNS.
Displays all the DHCP class IDs allowed for the adapter. WS2003 ...