What are ipconfig and ifconfig

The most important Windows commands for network and Internet

ipconfig: Display the computer's network configuration

Give ipconfig to have all the configuration settings of your network interfaces (LAN and WLAN) displayed at a glance. For example, you can see the currently not so important IP6 address of your PC, its IP4 address, the subnet mask and the IP address of the standard gateway through which you access the Internet (often the address of the DSL router). You can also find the DNS server that is responsible for your computer ipconfig Information.

If you really want all the information, give ipconfig with the corresponding parameter: ipconfig / all. If your computer has several network controllers, delivers ipconfig all information for each controller. With ipconfig / release share your current IP address. With ipconfig / renew then request a new IP address from the DHCP server. This can help you troubleshoot potential problems with an incorrectly assigned IP address by the DHCP server.

ipconfig also provides options to clear the DNS cache. The results of DNS queries are stored in this cache so that no new queries to the DNS server are necessary and unnecessary traffic is avoided. With ipconfig / displaydns view all entries in the DNS cache. With ipconfig / flushdns clear the DNS cache.

Note: You can only clear the DNS store with these commands under Windows. The Linux kernel does not cach DNS requests, so there is no command comparable to Windows.

Tip: If you use Windows and Linux at the same time, you have to pay attention to the correct spelling of the command. In Linux it is called ifconfig and not ipconfig. There is also iwconfig for the WLAN interface under Linux.