Knowledge Base

Search the knowledge base

Knowledge Base > Miscellaneous

ipconfig commands

The following ipconfig commands can be helpful when troubleshooting a DNS issue:

 

ipconfig /all : Displays the full TCP/IP configuration for all adapters, such as installed network adapters or dial-up adapters.

ipconfig /release : Sends a DHCP release message to the DHCP server to release the current DHCP configuration and discard the IP address configuration for either all adapters. This command disables TCP/IP for adapters configured to obtain an IP address automatically.

ipconfig /renew: Renews DHCP configuration for all adapters.  This parameter is available only on computers with adapters that are configured to obtain an IP address automatically.

ipconfig /flushdns : Flushes and resets the contents of the DNS client resolver cache. During DNS troubleshooting, you can use this procedure to discard negative cache entries from the cache, as well as any other entries that have been added dynamically.

ipconfig /displaydns : Displays the contents of the DNS client resolver cache, which includes both entries preloaded from the local Hosts file and any recently obtained resource records for name queries resolved by the computer. The DNS Client service uses this information to resolve frequently queried names quickly, before querying its configured DNS servers.

ipconfig /registerdns : Initiates manual dynamic registration for the DNS names and IP addresses that are configured at a computer. You can use this parameter to troubleshoot a failed DNS name registration or resolve a dynamic update problem between a client and the DNS server without rebooting the client computer. 

ipconfig /?: Displays help at the command prompt.

 

Updated: October 26, 2007