On Sat, Dec 16, 2023 at 9:42 PM Matt Wood <mattwood2...@gmail.com> wrote:
>
> This is a fundamental issue with musl:
> https://wiki.musl-libc.org/future-ideas
>
> I thought there was a solution using the mdns package (mDNSResponder from 
> Apple), but I could be misinterpreting what I have read.
>

I think there is (mDNSMacOSX/dnsproxy.c) but its only part of the MacOSX build.

> I saw a go implementation of avahi2dns, but this is for an initramfs so 
> trying to keep things small.
>
> I'll keep looking around but if anyone else has any suggestions I'd 
> appreciate it.
>
> Thanks, Matt
>
> On 12/16/23 15:42, Tim Orling wrote:
> >
> > On Sat, Dec 16, 2023 at 12:16 PM Khem Raj <raj.k...@gmail.com 
> > <mailto:raj.k...@gmail.com>> wrote:
> >
> >     is this issue specific to musl systems?
> >     Maybe try to reproduce it with glibc on qemu or something?
> >
> >
> > You might also search for mdns issues/solutions in Alpine Linux which is 
> > always musl.
> >
> >
> >     On Sat, Dec 16, 2023 at 9:11 AM <mattwood2...@gmail.com 
> > <mailto:mattwood2...@gmail.com>> wrote:
> >     >
> >     > Hi all,
> >     >
> >     > I'm working on an embedded system and it needs mDNS in order to 
> > interact with .local hostnames.
> >     >
> >     > The image is based on musl so it cannot use the libnss-mdns library.
> >     >
> >     > From what I've read the mdns recipe is supposed to support mDNS on 
> > non-glibc systems.
> >     >
> >     > The recipe takes care of modifying /etc/nsswitch.conf and appends 
> > mdns to the hosts line.
> >     >
> >     > When the system boots it runs mdnsd and I can see it join the 
> > multicast group in wireshark, but I cannot ping any .local addresses.
> >     >
> >     > Is there some other configuration that needs to be done?
> >     >
> >     > Has anyone successfully done this with a musl system?
> >     >
> >     > Thanks, Matt.
> >     >
> >     >
> >     >
> >     >
> >     >
> >
> >
> >
>
>
> 
>


-- 
Alex Kiernan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192641): 
https://lists.openembedded.org/g/openembedded-core/message/192641
Mute This Topic: https://lists.openembedded.org/mt/103211493/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to