Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] Re: Zeroconf

Hi Scott,

thanks a lot for all these hints.
I'm forwarding this to Javier Montalvo Orus from Symbian, who's mostly been involved with autodetect for the TM project.

We're discussing this on
 http://wiki.eclipse.org/index.php/DSDP/TM/Autodetect
and
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=140320
but you could also just send an E-Mail to mailto:dsdp-tm-dev@xxxxxxxxxxx.

When I got it right, Javier already knows about dns-sd, and actually some of his research actually started from their website (it was in one of his early E-Mails). Anyway, the pointer to the book is certainly helpful, just like your note about domains.

Thanks!
Martin

Scott Lewis schrieb:

Hi Martin,

I can't remember the name/email address of the person on DSDP team that was looking into this, so I thought I would send to you so your could forward to appropriate person.

Over the weekend I happened to read the book: Zero Configuration Networking: The Definitive Guide http://www.amazon.com/gp/product/0596101007/ref=pd_cmp_rvi_1_i/104-7671427-2556769?n=283155

In it, I clarified for myself how zeroconf deals with discovery outside of LAN...it's via DNS. In short, the 'names for service types' are setup as DNS entries...e.g.

_http._tcp.local

or

_http._tcp.eclipse.org

so the service instances will look like this

Scott Web Server._http._tcp.local

zeroconf will use a DNS query to get information about the service. This requires a DNS server that has been set up as a 'dns-sd' (for DNS service discovery) server.

So here's an example config for DNS server that would allow it to respond to dns-sd queries ('b' is for browse below):

b._dns-sd._udp         PTR   @
lb._dns-sd._udp         PTR   @

_httpd._tcp               PTR   Scott\ Web\ Server._http._tcp
Scott\ Web\ Server   SRV   0 0 80 www
                                TXT   path=/


So, in any event, with a properly configured DNS server zeroconf (and ECF impl) should allow cross-lan access to service discovery.

DNS service discovery org URL:  http://www.dns-sd.org

I assume this helps WRT desired DSDP usage. Please let me know if I can be of any further help in this regard. One thing...the dns-sd/zeroconf protocol allows for 'domain discovery'...i.e. to discover *domains* (e.g. eclipse.org) that are known. The ECF discovery API does not *yet* support this, but it would be easy to add, so I'm thinking of doing so.

Thanks,

Scott








Back to the top