commit | 8da5f98fbe227f7fa619989867a942ac78e2a8f8 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Aug 04 18:35:36 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Aug 09 16:32:49 2017 +0200 |
tree | 7d0deabc8ca8b5a8a4e919d63d4290d124c39a4d | |
parent | e962fd880dbd33fee0657ff0a071923c2e563766 [diff] |
MINOR: dns: Handle SRV records. Make it so for each server, instead of specifying a hostname, one can use a SRV label. When doing so, haproxy will first resolve the SRV label, then use the resulting hostnames, as well as port and weight (priority is ignored right now), to each server using the SRV label. It is resolved periodically, and any server disappearing from the SRV records will be removed, and any server appearing will be added, assuming there're free servers in haproxy.