no
How can i find out computer ip number using computer name
for example: in windows simply i use ping command ping computer-name Reply from 192.168.55.74: bytes=32 e<10ms TTL=128 |
on linux, if you have a nameserver configured and if the name server knows the target host's ip ( that is, if the target host is listed in the nameserver records, called A records), it will return the ip address.
All important systems do have the A record on the nameserver. You can use dynamic dns updates with dhcp to ensure that the hostname of each host that gets a dhcp address is promptly updated in the dns database. |
into a console type : ping computername
my output: ' root@egag12:/# ping xs4all.nl PING xs4all.nl (194.109.21.2) 56(84) bytes of data. ' ( it keeps pinging , i use ctrl-c to exit ) egag |
...or to find all IP's associated with the hostname, use the host utility...
Code:
hw@royne:~$ host xs4all.nl |
All times are GMT -5. The time now is 05:06 PM. |