Yeah that was the one. I thought mDNS was just DNS packets sent over UDP multicast? With a library that can parse DNS packets we should be able to see mDNS packets in userspace, no?
On Fri, Nov 9, 2012 at 11:58 AM, Ben Noordhuis <[email protected]> wrote: > On Fri, Nov 9, 2012 at 4:50 PM, Matt <[email protected]> wrote: > > On Wed, Nov 7, 2012 at 6:45 PM, Ben Noordhuis <[email protected]> > wrote: > >> > >> While HTTP traffic is event-driven, the initial DNS lookup is done > >> from inside the thread pool. That's because we use getaddrinfo(3) > >> instead of c-ares, mostly because the latter doesn't support things > >> like mDNS (think Bonjour, Avahi, etc.). I may switch it to > >> getaddrinfo_a(3) on Linux someday but other platforms will keep on > >> using the thread pool. > > > > > > Didn't I see somewhere a Node DNS library written in pure Node? That > might > > be useful... > > You mean [1]? It has the same issue as c-ares in that it doesn't > integrate with platform-specific services. mDNS is one but there are > others, like NIS or NSS. > > [1] https://github.com/tjfontaine/node-dns > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
