From: Daniel Corbett Date: Sun, 17 Nov 2019 14:48:56 +0000 (-0500) Subject: MEDIUM: dns: Add resolve-opts "ignore-weight" X-Git-Tag: v2.1.0~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8716914c744e447fc93b8228fa9915b5e600c79;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 463d172759..2407fcb01a 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -11931,6 +11931,11 @@ resolve-opts