Get hostname from ip address and vice versa in cmd
We can resolve hostname from ip address using ping command in cmd (command prompt) and we can also get ip address of a specified computer using ping command.
Resolve Hostname from IP Address in CMD:
Normally, we use ping command to check whether a machine is online or not. we can get machine name from ip address by giving extra parameter -a with ping command.
ping -a 100.82.151.16
Get IP Address from Computer name in CMD:
This may be funny (:: if you already know, we can get ip address from machinename with ping command.
ping hp-PC
No hay comentarios:
Publicar un comentario