The following list depicts the most common command-line network utilities that most administrators use when troubleshooting systems and network connectivity problems. It helps to get a list of common commands in one place just in case one tool which you are unfamiliar with may match a particular task better.
The Windows Hosts file allows you to map IP addresses to host names, it is another method used in domain name resolution! For instance, the hosts file may become handy when your DNS servers are unavailable or data within these servers is incorrect. Also, it can help when new DNS records have not yet replicated to all DNS servers or when you need to test a copy of your website on a backup host. Although, you can use an IP address to directly contact a host, there are instances such as when connecting to web sites sharing a single IP address, where this is not possible.
Windows 7 retains the same command-line tools of its predecessors for troubleshooting IP configurations. The most basic tools are the Ping and Ipconfig utilities which help you determine your system’s IP configuration and test connectivity. There are more advanced network tools such as, Tracert or Pathping, Nslookup for DNS related issues, etc. These help you troubleshoot advanced network related issues but this article will only cover the basic command-line tools which are adequate for the Windows 7 average users.