Examples of using the command ipconfig from the command line (cmd).
Releasing and renewing a network adapter's IP address
Example command: ipconfig /release
Example command: ipconfig /renew
- In the Start menu, click Run and, in the Open field, enter cmd. This opens the command-line tool.
- At the command prompt, enter ipconfig /release. Releases any assigned IP addresses
- At the command prompt, enter ipconfig /renew. Requests an IP address from the DHCP server again.
Clearing the DNS Resolver cache.
Example command: ipconfig /flushdns
- In the Start menu, click Run and, in the Open field, enter cmd. This opens the command-line tool.
- At the command prompt, enter ipconfig /flushdns. Clears the DNS resolution cache.
- Displayed message: Successfully flushed the DNS Resolver Cache.
Renewing all DHCP leases and registering DNS names again.
Example command: ipconfig /registerdns
- In the Start menu, click Run and, in the Open field, enter cmd. This opens the command-line tool.
- At the command prompt, enter ipconfig /registerdns. Registers with DNS again
- Displayed message: Registration of the DNS resource records for all adapters of this computer has been initiated. Any errors will be reported in the Event Viewer in 15 minutes.
Displaying the contents of the DNS Resolver cache.
Example command: ipconfig /displaydns
- In the Start menu, click Run and, in the Open field, enter cmd. This opens the command-line tool.
- At the command prompt, enter ipconfig /displaydns. Clears the DNS resolution cache.
Komentáře