commit | f8716914c744e447fc93b8228fa9915b5e600c79 | [log] [tgz] |
---|---|---|
author | Daniel Corbett <dcorbett@haproxy.com> | Sun Nov 17 09:48:56 2019 -0500 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 21 17:25:31 2019 +0100 |
tree | ae5569755f630e655ddd1416dd602c95b0fbad11 | |
parent | 64a18534e3725df27822a4077efd57a4aaa18aa2 [diff] |
MEDIUM: dns: Add resolve-opts "ignore-weight" It was noted in #48 that there are times when a configuration may use the server-template directive with SRV records and simultaneously want to control weights using an agent-check or through the runtime api. This patch adds a new option "ignore-weight" to the "resolve-opts" directive. When specified, any weight indicated within an SRV record will be ignored. This is for both initial resolution and ongoing resolution.