get name from an IP WITHOUT using DNS

Permabanned
Joined
30 Jun 2009
Posts
433
Location
NI
How is it possible to get a name returned from a PC on a network without requesting it of DNS ?

I use the ws_ping_pro prog and it can sweep an IP range and return the address and name of the PC it pings without using DNS , how does it do this ?

Anyone know ?
 
A little more info

This is in our companies network
For some weird reason unknown to those that handle such things
PC's entries (the PC on a static IP ) are "disappearing" from the static DNS tables
If I use ws_ping_pro I can sweep a range eg 192.168.5.XX and return the IP + name

I am looking to write a small util to sweep the range then check if it can resolve the
name to IP , if it cant then output the PC's data so I can pass it on the monkeys that
look after our network to get them to amend their table.

Its not even my problem / responsibility , but its peeing me off that when I try and vnc
onto a machine it returns address not known some of the time :-(
 
Is there a command to query a PC via ip and then return its name?
If so what command would do that ? ( I cant rely on DNS cos it seems to "miss" stuff )
 
nbtstat -A xxx.xxx.xxx.xxx

(where xxx.xxx.xxx.xxx is the IP address you want to look at)

YEP , that works great

Just gota work out how to scan the output of that command and then
gather the name info line and then output to file so I can pass it on
to the network monkeys ....... good help these days is hard to find
 
Back
Top Bottom