[Nut-upsdev] DNS-SD (was Re: [nut-commits] svn commit r2974 - branches/nut-scanner/tools/nut-scanner)
clepple at gmail.com
Wed Apr 20 12:10:15 UTC 2011
On Apr 19, 2011, at 10:26 AM, Arnaud Quette wrote:
> what still puzzles me is that "_upsd._tcp" is used as Service Type.
> while "nut" is used as the Service Name.
> (instant update) I've just made a quick test with Frédéric, and the
> "nut" name *must* be unique: each system that publish a nut service
> availability has to have a unique Service Name!
It looks like the convention is to use the hostname or MAC address to
make the DNS-SD name unique. "man avahi.services" mentions a "%h"
format specifier and an XML attribute to insert the local hostname.
More information about the Nut-upsdev