ipconfig | Microsoft Docs

How To Scan Network for IP Addresses Using cmd Tools Feb 12, 2019 ipconfig – Network Encyclopedia Ipconfig examples. To renew a DHCP-assigned IP address configuration for only the Local Area Connection adapter, type: ipconfig /renew "Local Area Connection" To flush the DNS resolver cache when troubleshooting DNS name resolution problems, type: ipconfig /flushdns To display the DHCP class ID for all adapters with names that start with Local Network Troubleshooting using PING, TRACERT, IPCONFIG We’re going to go over four commands: “ipconfig”, “nslookup”, “ping”, and “tracert”. ipconfig. The “ipconfig” displays the current information about your network such as your your IP and MAC address, and the IP address of your router. It can also display information about your DHCP and DNS servers.

To display records currently in the DNS cache, open up a command line and enter the following command: ipconfig /displaydns A completely empty DNS cache, with only a "localhost" setting in your local hosts file will show something like this:

Mar 09, 2020 · In Windows, ipconfig is a console application designed to run from the Windows command prompt. This utility allows you to get the IP address information of a Windows computer . It also allows some control over active TCP/IP connections. Oct 16, 2017 · Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings. Used without parameters, ipconfig displays Internet Protocol version 4 (IPv4) and IPv6 addresses, subnet mask, and default gateway for all adapters. IPCONFIG /renew [adapter] Renew the IP address for the specified adapter. IPCONFIG /flushdns Purge the DNS Resolver cache. IPCONFIG /registerdns Refresh all DHCP leases and re-register DNS names. IPCONFIG /displaydns Display the contents of the DNS Resolver Cache.

Reregister DNS only when you suspect that there are problems with DHCP and the DNS resolver cache. You can use the IPCONFIG command to flush and reregister entries in the DNS resolver cache by following these steps: Start an elevated command prompt. To clear out the resolver cache, type ipconfig/flushdns at the command line.

With ipconfig, you can identify the types of network adapaters on your computer, the computer's IP address, the IP addresses of the DNS (Domain Name System) servers being used, and much more. These commands shown here are tested on Windows 10 but most will work in other versions of Windows as well.