L2 Cache

Behold the power of |!

User Tools

Site Tools


projects:solaris:mdns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:solaris:mdns [2013/07/22 15:27]
sjorge
projects:solaris:mdns [2015/05/23 16:33] (current)
sjorge [mDNS Announcer]
Line 1: Line 1:
 ====== mDNS Announcer ====== ====== mDNS Announcer ======
-mDNS Announcer (Multicast DNS Announcer) is a service (for Solaris) written in python that uses ctypes to call libdns-sd ​to announce services on the network over mDNS.+<​note>​Packages are no longer provided, source remains available here:\\ [[https://​github.com/​sjorge/​omnios-build-blackdot]]</​note>​ 
 + 
 +mDNS Announcer (Multicast DNS Announcer) is a service (for Solaris) written in python that uses pybonjour and ctypes to make calls to libdns-sd.
  
 It wrote this because OmniOS is missing the Avahi package, I didn't want to spend time compiling Avahi on solaris so I write a simple replacement. It wrote this because OmniOS is missing the Avahi package, I didn't want to spend time compiling Avahi on solaris so I write a simple replacement.
Line 8: Line 10:
 This service uses ''​network/​dns/​multicast''​ to register services on the network. This service uses ''​network/​dns/​multicast''​ to register services on the network.
  
-It will read ''/​etc/​mdns.conf''​ for services that need to be announced. It will try to guess default ​like the hostname. If they are wrong you can also specify them in the service definition and those will be used instead.+It will read ''/​etc/​mdns.conf''​ for services that need to be announced. It will try to guess defaults ​like the hostname. If they are wrong you can also specify them in the service definition and those will be used instead.
 This file should be fairly self explenatory. //note: the parser is rather rough so it is possible to that bad configuration could prevent the service from starting!// This file should be fairly self explenatory. //note: the parser is rather rough so it is possible to that bad configuration could prevent the service from starting!//
  
Line 35: Line 37:
 // [ // [
 // { // {
-// "​name":​ "​flux",​ --- name - defaults to hostname (optional) +// "​name":​ "​flux", ​                   --- name - defaults to hostname (optional) 
-// "​domain":​ "​local.",​ --- domain - defaults to local. (optional) +// "​domain":​ "​local.", ​               --- domain - defaults to local. (optional) 
-// "​host":​ "​flux.example.com",​ --- set alternative fqdn - MUST be resolvable (optional) +// "​host":​ "​flux.example.com", ​       --- set alternative fqdn - MUST be resolvable (optional) 
-// "​type":​ "​_ssh._tcp",​ --- set service type (required) +// "​type":​ "​_ssh._tcp", ​              ​--- set service type (required) 
-// "​port":​ 22, --- set port (required)+// "​port":​ 22,                        --- set port (required)
 // "​txtRecord":​ {"​model":​ "​RackMac"​},​ --- set text record (optional) // "​txtRecord":​ {"​model":​ "​RackMac"​},​ --- set text record (optional)
-// "​interface":​ "​e1000g0"​ --- set binding interface (optional)+// "​interface":​ "​e1000g0" ​            ​--- set binding interface (optional)
 // } // }
 // ] // ]
projects/solaris/mdns.1374499624.txt.gz · Last modified: 2014/10/09 22:02 (external edit)