Menu

#12 gethostby* integration (ns_initparse: Message too long)

bug
open
nobody
tmdns (4)
5
2005-09-25
2005-09-25
No

It seems that tmdns has a bug so that local requests (by
gethostbyname() and gethostbyaddr() in the UNIX sockets library)
are not correctly forwarded to other servers. (Requests from other
hosts are handled correctly).

In practice, if a program does a gethostbyaddr() lookup, no results is
received, and tmdns gives the error "ns_initparse: Message too
long". Apparently, this is logged when tmdns receives a respons
from an other mdns server (in this case, I was using it in conjunction
with Apple's mDNSReponder 107.1); however I have not verified
when exactly the bug occurs.

Note that debugging is a night-mare since the results of gethostby*()
seem to be cached.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.