Windows ipconfig Command Reference
Overview of ipconfig
Used on Windows hosts for basic network configuration reporting and support tasks.
ipconfig: Displays the IP address, subnet mask, and default gateway (router) for all network interfaces bound to TCP/IP.
Configuration and DHCP Switches
ipconfig /all: Displays complete TCP/IP configuration parameters for each interface, including the hardware (MAC) address and whether Dynamic Host Configuration Protocol (DHCP) is enabled.ipconfig /renew interface: Forces a DHCP client to renew its IP address lease.ipconfig /release interface: Releases the IP address obtained from a DHCP server, leaving the interface(s) without an IP address.
DNS Management Switches
ipconfig /displaydns: Displays the Domain Name System (DNS) resolver cache.ipconfig /flushdns: Clears the DNS resolver cache.ipconfig /registerdns: Registers the host with a DNS server (if dynamic updates are supported).