
It’s another one of my favorite windows commands for network troubleshooting. You can do all kinds of tests to verify DNS is working correctly, you can check PTR, A, MX, SOA, and many other types of DNS records. This is a must-have command for any sysadmin or network engineer. The nslookup command is used to check DNS records and troubleshoot DNS. displaydns switch will display the DNS client cache. renew switch will renew DHCP address for all network cards. This will release DCHP address on the network cards that are configured for DHCP. registerdns to trigger dynamic registration of the DNS names and IP addresses that are configured on the computer. flushdns switch to clear the local DNS resolver cache. all switch to display IP info for all network cards. To view the IP configuration for all network cards on a computer type the command below and press enter. This command can also display the DNS cache on the local machine, flush DNS, release and renew the DHCP address on all network cards. You can display the IP info for a single or all network cards installed on a computer. The ipconfig command is used to display a computers TCP/IP configuration. ping -t > c:\it\test-ping.txtįor more details on the ping command see Microsoft’s ping documentation. A very popular command for testing network connectivity. a switch will do a reverse name resolution on the IP (PTR record lookup). So to view the help for ping use this command: ping /?


ping dc1.ad.įor most windows commands you can type the command followed by /? to view the help info, it will display the full syntax and parameters. To test the connectivity to another device by IP use the command below.
