commit c1bfcd002f54d1d84a99282d13f875c2649f3d70 Author: Baptiste Assmann Date: Fri Jun 22 15:04:43 2018 +0200 MINOR: dns: new DNS options to allow/prevent IP address duplication By default, HAProxy's DNS resolution at runtime ensure that there is no IP address duplication in a backend (for servers being resolved by the same hostname). There are a few cases where people want, on purpose, to disable this feature. This patch introduces a couple of new server side options for this purpose: "resolve-opts allow-dup-ip" or "resolve-opts prevent-dup-ip". (cherry picked from commit 8e2d9430c0562ed74276d7f58e92706c384c0a36) [wt: this is backported to 1.8 upon request from Baptiste because it offers the option to revert to 1.7 behaviour, which some people depend on. The address deduplication used on 1.8 apparently is not suited to everyone] Signed-off-by: Willy Tarreau diff --git a/doc/configuration.txt b/doc/configuration.txt index 011533a0..1973bbf2 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -11623,6 +11623,40 @@ rise after consecutive successful health checks. This value defaults to 2 if unspecified. See also the "check", "inter" and "fall" parameters. +resolve-opts