Reverse IP to name lookups and netbios
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Reverse IP to name lookups and netbios

 
Post new topic   Reply to topic    Windows Server Forum Index -> Networking
Author Message
lauren@laurenchild.net
Guest





Posted: Tue Oct 25, 2005 12:50 pm    Post subject: Reverse IP to name lookups and netbios Reply with quote

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
Back to top
totoiste
Guest





Posted: Tue Oct 25, 2005 12:50 pm    Post subject: Re: Reverse IP to name lookups and netbios Reply with quote

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...
Back to top
lauren@laurenchild.net
Guest





Posted: Tue Oct 25, 2005 4:50 pm    Post subject: Re: Reverse IP to name lookups and netbios Reply with quote

The node type is Hybrid. The cache shows one machine, but the lookups
happen rarely.
Back to top
Doug Sherman [MVP]
Guest





Posted: Wed Oct 26, 2005 12:50 am    Post subject: Re: Reverse IP to name lookups and netbios Reply with quote

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


<lauren@laurenchild.net> wrote in message
news:1130236549.828763.192670@z14g2000cwz.googlegroups.com...
Quote:
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
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Networking All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB