Re: DNSService: Can I compute a service's fullname myself?
Re: DNSService: Can I compute a service's fullname myself?
- Subject: Re: DNSService: Can I compute a service's fullname myself?
- From: Quinn <email@hidden>
- Date: Tue, 28 Apr 2009 17:41:26 +0100
At 9:00 -0700 28/4/09, Jens Alfke wrote:
I'm wondering if I can't just construct the full name myself - it
seems to be just the concatenation of the service name, registration
type and domain (with periods between, as necessary). Can I do that,
and skip the DNSServiceResolve step?
In general it is safe to cons up DNS SD strings. However, I'm a
little confused by your question. Assuming a standard setup, and you
start with a service name/type/domain, the SRV record will be at
"name.type.domain." and the TXT record will be at the same path.
When you resolve the SRV you get back an A record name, which won't
help you get to the TXT record.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden