nslookup (enter)set type=mx (enter)yahoo.com
This command will give you the mail server IP of yahoo.com. You can use whatever server you want and if it is listed on DNS, then you get the IP. Simple, isn’t it? You can send a spoofed email to your friends using the IP address of the mail server.net view
This command will allow you to know if the host you pinging is alive, which means if it is up at the time of executing the “ping” command.
This command will give you the hops that a packet will travel to reach its final destination. This command is really helpful if you know the route a packet takes before it goes to the target box.
This command will show you the arp table. You can find out if anyone has done arp poisoning in your LAN using this command.
This command will show you the routing table, gateway, interface and metric.
This command will show you connection stats
netstat -a (this will show you all the listening ports & connection with DNS names)netstat -n (this will show you all the open connection with IP addresses)netstat -an (this will combined both of the above)
This command will show you a lot of useful things like your IP, Gateway, DNS in use, etc. This command will give all that info but for all networks you might have it.
ipconfig /allipconfig /release (this will release your IP)ipconfig /renew (this will renew your iP)