[avahi] How to resolve host names without D-Bus?

Trent Lloyd trent at lloyd.id.au
Tue Jul 21 21:02:40 UTC 2020


If you specifically only want to resolve hostnames then you can use the “simple” Unix socket that nss-mdns uses. 

Outside of that everything else either requires dbus or for you to use AvahiCore to implement your own daemon. 

Trent 

> On 22 Jul 2020, at 1:21 am, Chris Paucar <chris.paucar at roc-connect.com> wrote:
> 
> 
> Hi,
> 
> I managed to build avahi-utils with dbus support and was able to resolve mDNS host names cross-compiled through OpenWRT to our MIPS device.
> 
> Now my issue is trying to avoid using dbus while still being able to resolve host names. How can I manage to do this? Is it possible to build avahi-utils without dbus-daemon dependency? I already have avahi-nodbus-daemon working.
> 
> Thanks,
> Chris
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/avahi



More information about the avahi mailing list