remctl
remctl copied to clipboard
SRV records for locating remctl services
Support a scheme for locating remctl services via SRV records. Rob Riepel proposes:
_ipm._remctl.Stanford.EDU. SRV 0 0 4373 yang.Stanford.EDU. _ipm._remctl.Stanford.EDU. SRV 5 0 4373 yin.Stanford.EDU.
plus a way to specify the sub-service for remctl's use.
We would want to add _tcp to those to follow the SRV record specification.
Rob was confused. The scheme should be:
_remctl._tcp.ipm.stanford.edu. 1800 SRV 0 0 4373 yin.stanford.edu. _remctl._tcp.ipm.stanford.edu. 1800 SRV 5 0 4373 yang.stanford.edu.
How would this work? Let's say two different departments have remctl services exposed to respond to "remctl myserver puppet oneshot", which department's server would the remctl client be directed to?
How would this work? Let's say two different departments have remctl services exposed to respond to "remctl myserver puppet oneshot", which department's server would the remctl client be directed to?
Depends on the DNS setup. If there is a DNS SRV record _remctl._tcp.myserver.$domain, the connection would be made to the server chosen by the algorithm defined in the "Usage rules" section of RFC 2782; if not, the connection would be made to myserver.$domain (as defined in the same section).