Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DOS Command 3

Status
Not open for further replies.

DColcl

MIS
Sep 22, 2003
436
US
There are a ton of DOS commands out there. I'm looking for one that will tell me the name of the computer that a certain address as been assigned.
Yes, i can do it from Windows, but I was looking for a way to do it from the CMD.

Danny
 
tracert
It will show the FQDN for target computer

[tt]C:\Documents and Settings\user>tracert 10.1.1.10
Tracing route to computer.acme.local [10.1.1.10]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms computer.acme.local [10.1.1.10]
Trace complete.[/tt]

===
Karlis
ECDL; MCSA
 
You could also try ping -a 10.1.1.10. (or whatever address you want to query)

I like children. If they're properly cooked.
-- W.C. Fields
 
You can use NBTSTAT -A ipaddress also, this gives you the user who is logged in also
 
You mean find out the name of a machine from IP addy?

NSLOOKUP 127.0.0.1

E.G.

C:\>NSLOOKUP 172.19.0.72
Server: NORWICH-DNS
Address: 172.19.0.10

Name: nr-itadmin1.norwich.company.co.uk
Address: 172.19.0.72

C:\>

That'll do it - NSLOOKUP is a app designed for talking to DNS servers. Does reverse and forward lookups and if the server allows access - full dumps of a DNS domain. For a forward lookup just enter in the name instead of a IP addy.

Ta,



Steve.

"They have the internet on computers now!" - Homer Simpson
 
Thank you all for the kind help! And a star for each of you!

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top