• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DNSService: Can I compute a service's fullname myself?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >DNSService: Can I compute a service's fullname myself? (From: Jens Alfke <email@hidden>)

  • Prev by Date: DNSService: Can I compute a service's fullname myself?
  • Next by Date: DNSServiceUpdateRecord is failing
  • Previous by thread: DNSService: Can I compute a service's fullname myself?
  • Next by thread: DNSServiceUpdateRecord is failing
  • Index(es):
    • Date
    • Thread