• 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
Adding extra DNS records with CFNetService?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding extra DNS records with CFNetService?


  • Subject: Adding extra DNS records with CFNetService?
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 24 Apr 2009 07:57:11 -0700

I have a Bonjour service I want to add an extra DNS record* (probably a NULL) to. There doesn't seem to be any API for this on CFNetService (or NSNetService), although there is at the DNSService level (in <dns_sd.h>). 

Is there a way to get the underlying DNSServiceRef from a CFNetServiceRef? Or a way to use DNSService to affect an existing registration instead of creating a new one?

(I'm pretty sure the answers are "no", but I want to ask before I rewrite my code to use DNSService instead of NSNetService :-p )

—Jens

* Why: I want to add a digital signature to the TXT record, to allow for validating the identity of the service. But DNS records are really cramped (they shouldn't go over ~1500 bytes) and RSA keys and signatures are pretty big (~256 bytes), so I'm thinking of putting the constant part, the public key, in an auxiliary record like NULL. This is similar to the way iChat's Bonjour service moves the buddy-icon data into a NULL record.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Prev by Date: Re: Does CFNetwork proccess http response code 101 internel?
  • Next by Date: Re: Does CFNetwork proccess http response code 101 internel?
  • Previous by thread: Re: Does CFNetwork proccess http response code 101 internel?
  • Next by thread: Reachability redux: what about the user experience?
  • Index(es):
    • Date
    • Thread