Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rendezvous between subnets?



At 1:21 PM -0700 7/5/04, James G. Speth <email@hidden> wrote:
Are there any references available now about the extended strategy? Also, did anyone put their session notes online? My googling has only turned up comments about the cross-platform Rendezvous release, but I'd really like to find out what else was discussed at the session.

From the point of view of a client of <dns_sd.h>, the API is not changing. The "domain" parameters will start to become more important, because we're adding the ability to register and browse for services in target domains beyond "local."


For instance, assuming that the controlling DNS of end.com was a willing participant, you could perform a TSIG-authenticated registration:

DNSServiceRegister( &ref, 0, 0, "Me", "_http._tcp", "speth.end.com",
                    "myHost", 80, 0, NULL, callBack, context);

which would update the DNS database with the following records:

PTR  _http._tcp.speth.end.com.    ->  Me._http._tcp.speth.end.com
                                  ->  (possibly other registrations)

SRV  Me._http._tcp.speth.end.com. ->  myHost.speth.end.com.:80

Then I, from my machine on comcast.net, could do:

DNSServiceBrowse( &ref, 0, 0, "_http._tcp", "speth.end.com", cb, ctx);

to discover your HTTP service by sending unicast queries to end.com.

We're still working on the details of the user model, such as how the list of domains to present as browse targets (or registration targets) should be obtained. However that ends up happening, DNSServiceEnumerateDomains() will present a list of likely suspects.

It's also possible that for some configurations, using the default domain "" in a registration operation, for instance, will register in other domains in addition to "local", so you should specify "local" if you really want that. And of course, you should not assume that the domain coming back in your DNSServiceBrowseReply is "local."


-- Roger Pantos, email@hidden miscellaneous software guy _______________________________________________ rendezvous mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Rendezvous between subnets? (From: "James G. Speth" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.