[avahi] Does Avahi support unicast domain enumeration?

Joshua Pollak jpollak at kivasystems.com
Sun May 13 16:39:44 PDT 2007


Lennart Poettering wrote:
> One thing I forgot to mention: Avahi also ignores search paths defined
> in /etc/resolv.conf. You may, however, use the "browse-domains" option
> in /etc/avahi/avahi-daemonc.onf.
>   
Ah, this is the root of my issue.
> Maybe we should parse the domains from
> /etc/resolve.conf. Dunno. Would probably make some sense.
Yes, I believe that is a missing feature. I think the idea of static
service discovery via DNS servers is that the DHCP server can tell a
client which DNS server and default zone to use, and the ZeroConf
implementation (Avahi in this case) should search those default zones
for services. This provides true client-side zero-configuration.

Currently I have worked around this in my client by manually parsing the
/etc/resolve.conf for lines starting with "search" and "domain", and
instructing the mDNS library (I'm using mDNSResponder right now) to
search those domains, but I believe this feature should be built into
the library. It certainly is already with Mac OS X and Bonjour for Windows.

-Josh


More information about the avahi mailing list