MINOR: dns: new DNS options to allow/prevent IP address duplication
authorBaptiste Assmann <bedis9@gmail.com>
Fri, 22 Jun 2018 13:04:43 +0000 (15:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Jul 2018 15:56:44 +0000 (17:56 +0200)
commit8e2d9430c0562ed74276d7f58e92706c384c0a36
tree2a219b375305ee66b3eaa719cdbfbc4497daeca8
parent84221b4e9010810cf93b7ad7a31d825fa9fc26bf
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".
doc/configuration.txt
include/types/dns.h
src/dns.c
src/server.c