Networking Forums

Networking Forums > Computer Networking > Windows Networking > Reverse IP to name lookups and netbios

Reply
Thread Tools Display Modes

Reverse IP to name lookups and netbios

 
 
lauren@laurenchild.net
Guest
Posts: n/a

 
      10-25-2005, 10:35 AM
Hi,

I have a box doing reverse IP lookups, and I dont know how.

We have no reverse DNS set up.

We have no WINS/NBNS server set up.

Nothing in LMHOSTS.

Despite this it is reverse resolving the IP address (that it knows) to
the Netbios/NBT name (that it shouldnt know).

The devices are on routed subnets so are not within the broadcast
domain for normal Netbios/NBT.



If the normal reverse lookup methods fail, does the windows resolver
unicast to the box and lookup the name ala nbtstat?



Thanks,
Lauren

 
Reply With Quote
 
 
 
 
totoiste
Guest
Posts: n/a

 
      10-25-2005, 12:04 PM
Do you know your NetBt Node Type ? (ipconfig /all)

It gives you your search order for Netbios (Broadcast, WINS)...

What is the result of 'nbtstat -c' ? (Show the local cache of Netbios
Name resolution)

If no reverse DNS, no WINS, the only way that your box has to resolve
is Broadcast...

 
Reply With Quote
 
lauren@laurenchild.net
Guest
Posts: n/a

 
      10-25-2005, 02:11 PM

The node type is Hybrid. The cache shows one machine, but the lookups
happen rarely.

 
Reply With Quote
 
Doug Sherman [MVP]
Guest
Posts: n/a

 
      10-26-2005, 12:13 AM
NetBT can issue a NetBIOS adapter status request (also called a NetBIOS node
status request) to the destination IP address, and then parse the returned
name table for the name registered by the server service
(<computername>[0x20]) - eg nbtstat -a IPaddress.

This will also work with Windows sockets applications through the
gethostbyaddr() call using the following sequence:

1.Check local computer host name.
2.Check the HOSTS file for a matching address entry.
3.If a DNS server is configured, query it.
4.If no match is found, send a NetBIOS Adapter Status Request to the IP
address being queried, and if it responds with a list of NetBIOS names
registered for the adapter, parse it for the computer name.

Doug Sherman
MCSE, MCSA, MCP+I, MVP


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Hi,
>
> I have a box doing reverse IP lookups, and I dont know how.
>
> We have no reverse DNS set up.
>
> We have no WINS/NBNS server set up.
>
> Nothing in LMHOSTS.
>
> Despite this it is reverse resolving the IP address (that it knows) to
> the Netbios/NBT name (that it shouldnt know).
>
> The devices are on routed subnets so are not within the broadcast
> domain for normal Netbios/NBT.
>
>
>
> If the normal reverse lookup methods fail, does the windows resolver
> unicast to the box and lookup the name ala nbtstat?
>
>
>
> Thanks,
> Lauren
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No DNS lookups ny apps - but nslookup ok danr_18@yahoo.com Wireless Internet 4 03-23-2006 11:53 AM
strange lookups rocketman768@gmail.com Wireless Internet 1 10-17-2005 03:24 PM
nis+ - host lookups fail d_dave@my-deja.com Linux Networking 1 03-30-2005 11:31 PM
How to tell syslogd not to make dns-lookups Patrick Linux Networking 1 11-01-2003 01:28 AM
Home PC lost network name lookups Ken Mage Windows Networking 2 08-11-2003 10:05 AM



1 2 3 4 5 6 7 8 9 10 11