sk_tabrez
asked on
convert IP Address to computer name
Hi,
How do i convert an IP address into computer name by using a DOS Prompt, if the computer is in workgroup.
How do i convert an IP address into computer name by using a DOS Prompt, if the computer is in workgroup.
A better way is to use nslookup :
nslookup 1.2.3.4
nslookup 1.2.3.4
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your reply guys, but what i was expected is the answer of Irmoore.
nbtstat -a 1.2.3.4
nbtstat -a 1.2.3.4
Just for the record : ping is used to know if a machine is "alive". You shouldn't use it to resolve an IP address. That's what DNS is for (nslookup will give you that information). If it's indeed more about netbios, then nbtstat is interesting.
I wouldn't use ping ...
I wouldn't use ping ...
>> but what i was expected is the answer of Irmoore.
Then you should have accepted his answer ;)
Then you should have accepted his answer ;)
ASKER
his answer is also correct cauz it gives me my answer, and sorry for not accepting the answer of irmoore, because im new to this forum so i thought i can accept more then one answer, and after accepting the answer i realize that i cannot.
and as far as ur answer it works well when all the computer has local DNS. in my case our computers are in WORKGROUP and we have ISP DNS so the nslookup command will not work for me.
Thanks
Tabrez
and as far as ur answer it works well when all the computer has local DNS. in my case our computers are in WORKGROUP and we have ISP DNS so the nslookup command will not work for me.
Thanks
Tabrez
>> i thought i can accept more then one answer, and after accepting the answer i realize that i cannot.
You can ... Just choose "accept multiple solutions" (or something similar), and then choose the amount of points you want to assign to which responses.
>> and as far as ur answer it works well when all the computer has local DNS.
No problem ... If it's for workgroups, then nslookup will indeed not be sufficient.
You can ... Just choose "accept multiple solutions" (or something similar), and then choose the amount of points you want to assign to which responses.
>> and as far as ur answer it works well when all the computer has local DNS.
No problem ... If it's for workgroups, then nslookup will indeed not be sufficient.
I have asked a moderator to re-open this question so that you can accept the proper comments.
Thanks.
Thanks.
>> so that you can accept the proper comments.
You'll have to accept the solutions yourself, and it's your decision and yours alone which ones you accept :)
You'll have to accept the solutions yourself, and it's your decision and yours alone which ones you accept :)
ping -a IP.AD.DR.ESS
ping -a tryes to resolve the IP name