Am Montag, den 25.02.2008, 15:45 +0100 schrieb Peter Eisentraut:
> Am Dienstag, 27. November 2007 schrieb Mathias Hasselmann:
> > Postmaster already has code to announce its services via DNS-SD
> > (ZeroConf) by using Apple's Bonjour API. This series of patches
> > implements that capability on top of the Avahi library[1] which
> > is free software, available for a wider variety of platforms.
>
> One thing I found curious: The Bonjour code uses service
> type "_postgresql._tcp." whereas your code uses "_postgresql._tcp" (note the
> dot). Is that an expected difference?
Oh, that difference is really interesting. I didn't even see it.
DNS-SD uses the convention "_<protoname>._<type>" to describe services,
and that's the convention Avahi follows. I don't know why the Bonjour
API uses that trailing dot, but it seems wrong:
"a trailing dot indicates the root domain. so bonjour is clearly
wrong, since there's no ._tcp top-level domain."
-- James Andrewartha on #avahi today
Avahi's maintainer Sjoerd Simons agreed, that the trailing dot seems to
be wrong.
Ciao,
Mathias
--
Mathias Hasselmann <mathias@openismus.com>
http://www.openismus.com/ - We can get it done.