Jakub Hrozek wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
<snip>
[PATCH 2/2] Support SRV servers in failover Adds a new failover API call fo_add_srv_server that allows the caller to specify a server that is later resolved into a list of specific servers using SRV requests.
This looks doc-worthy... Can somebody explain "SRV servers" and how they work here? My limited understanding makes me think I can define _failover._tcp as SRV records in my DNS with weights and priorities, etc. Is that right? How about an example? Has this made it into a man page yet?
Also adds a new failover option that specifies how often should the servers resolved from SRV query considered valid until we need a refresh.
What's the option? I missed it... :(
thanks a bunch~!
The "real" servers to connect to are returned to the user as usual, using the fo_resolve_service_{send,recv} calls.