Commands · Command
CommandWindows
ipconfig
ipconfig [/options]Displays the current TCP/IP network configuration for all adapters — the Windows equivalent of ifconfig/ip.
// FLAGS
/allshow full details including DNS servers and MAC address/releaserelease the current DHCP lease/renewrequest a new DHCP lease/flushdnsclear the local DNS resolver cache// EXAMPLE
ipconfig /all — prints every network adapter's IP address, subnet mask, default gateway, and DNS servers.
// GOTCHA
Plain ipconfig shows only a summary — the DNS servers, MAC address, and DHCP lease details that actually matter for troubleshooting only show up with /all.
// RELATED COMMANDS