From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sat, 2 Jan 2016 09:41:48 -0800 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] mDNS Topicbox-Message-UUID: 7d330e0a-ead9-11e9-9d60-3106f5b1d025 On Sat Jan 2 01:31:36 PST 2016, steve@quintile.net wrote: > > mmmm, > > I am confused, are you talking of replacing the interface to dns(1)? > > I had no real plan, maybe to just make mDNS accumulate broadcast and > multicast mDNS messages into a virtual file in /lib/ndb format. > > more importantly I really need a publish system, which would be just based off > /lib/ndb/local, just a static spec. > > my target is porting shairport, and maybe Dnla at a later date. that wasn't what i had in mind at all. dns(1) does a whole bunch of things, including. - answering queries via /net/dns - answering queries via udp, and tcp, - maintence of database ndb files - resursive resolution via udp or tcp - caching of results currently these functions are all in ndb/dns, and there isn't even threading. that seems like a hard structure to maintain. - erik