Win32 gethostbyaddr() does NetBIOS query?

Walter H. Walter.H at mathemainzel.info
Mon Jan 24 00:04:51 GMT 2005


Hi,

I found a quite suspicious way the gethostbyaddr() works;

I have a programme which calls this API for IP-addresses it gets from my
firewall, and
if this IP-addr has no reverse DNS entry anywhere it wants to access the
host, but this is blocked on the firewall; if this IP-addr has a reverse
DNS entry anywhere everything goes fine.

this phenomena I saw on both: WinNT 3.51 with SP5a and WinNT 4.00 with
SP6a

Greetings,
Walter




More information about the samba-technical mailing list