User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
Marc Manthey wrote:
thank you soo much for this fantastic mDNS howto...
i put it on my blog if you dont mind :-)
no problem.
Now what you do, is you make a so-called "SRV" (Service Record) in
your DNS configuration, and you also need to add a "TXT" record:
Here is mine:
; service records
$ORIGIN macfreek.nl.
Apple._http._tcp IN SRV 10 100 80 www.apple.com.
Apple._http._tcp IN TXT "path=/"
The syntax for SRV records is:
Name._service._protocol IN SRV priority weight port target
so i try to understand , its all about a .txt record . from my
understanding
Well, it's about two DNS records, one of the SRV (SeRVice) type and one
of the TXT type.
Since you are listed (at http://www.dns-sd.org/ServiceTypes.html ) as
maintainer of the _cuseeme._udp service type,I guess you are responsible
for describing the paramters in the TXT record :-)
You probably should not call it ".txt", since that sounds like a file
extension, which is completely unrelated to DNS records.
Here is mine:
; service records
$ORIGIN cuseeme.de.
let._cuseeme._upd IN SRV 10 100 7648-7650 www.cuseeme.de
let._cuseeme._udp IN TXT "path=/livehome/"
do i need to recompile mDNS ? again or do i need to type it into the
terminal. ?
Neither.
This is an excerpt of a so-called "DNS zone file". DNS zone files are
configuration files used by DNS servers. Bind9 is the most populair
implementation of a DNS server available, and uses these files, but
others probably do so too.
Though DNS and mDNS are simular protocols when it comes to the data on
the wire, the servers (like bind9 for DNS and mDNSResponder for mDNS) do
not share the same configuration files. In fact, I don't know if
mDNSResponder does use any configuration file at all.
I probably should not have used H323 as an example (sorry about that),
since the solution I describe here only uses for more or less static
information. I should have emphasized "static" a bit more.
It is static since I described a scenario where I altered a
configuration file on a server somewhere. That's probably not what
you're interested in, since you seem to look into a H323 chat client,
and I assume those client come and go often.
What you probably are interested in is an API which your client can use
to register and remove clients as they come and go. That's the dynamic way.
Now, something like that is probably technically possible. The hardest
thing is that it needs some kind of mechanism to dynamically update the
DNS (or mDNS) configuration. I know work has been done in that field,
but I don't know the status.
My best bet for you is to wait until Apple has finished the
documentation, and see what kind of mechanism they describe.
Sorry if this is a bit unsatisfying answer, but my main knowledge lies
in the protocol working, not in the mDNSResponder API. Perhaps other
people do know more about that.
Regards,
Freek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bonjour-dev/email@hidden