[avahi] Discovery of Browsing Domains (Domain Enumeration) in avahi

Lennart Poettering lennart at poettering.net
Sun Jun 8 11:18:48 PDT 2008


On Fri, 06.06.08 15:49, Ruben Garat (ruben01 at gmail.com) wrote:

> Hi i?m trying to use avahi as my zeroconf solution in linux, and found a
> difference with Mac?s Bonjour in  windows.
> 
> i would like my applications to discover what domains may have services
> published as described in chapter 12 of the dns-sd draft
> http://files.dns-sd.org/draft-cheshire-dnsext-dns-sd.txt
> 
> For example, i want the different machines to have a dns search path of
> mydomain.com
> 
> and by mydomain.com having PTR records to services.mydomain.com as defined
> in the draft, that avahi automatically adds these to the list of configured
> domains as it works in bonjour.
> 
> i sniffed the network and could not see any query for these records, nor
> have i found anything in the code related to this.
> 
> i would like to know whether i?m doing anything wrong or if this feature is
> not implemented whether is there any plans to do it.

Avahi doesn't merge browsing domains. Clients should be calling
avahi_domain_browser_new() to create a domain browser explicitly if
they care about additional domains.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the avahi mailing list