Re: [PATCH][MINOR] Implement resovle-opts with 2 new options

2018-08-08 Thread Willy Tarreau
On Wed, Aug 08, 2018 at 11:42:48PM +0200, Baptiste wrote: > Until HAProxy 1.7, the DNS resolver was able to allocate the same IP > address to all (or a portion of) servers sharing the same hostname and > being in the same backend. > This behavior annoyed the people who wants to scale based on DNS

Re: [PATCH][MINOR] Implement resovle-opts with 2 new options

2018-08-08 Thread Baptiste
On Wed, Aug 8, 2018 at 11:09 PM, Willy Tarreau wrote: > Hi Baptiste, > > On Wed, Aug 08, 2018 at 08:14:31PM +0200, Baptiste wrote: > > Hi Willy, > > > > Could you please also backport those patches to 1.8? > > Actually, 1.8 broke a haproxy's default behavior (when multiple servers > > shares the

Re: [PATCH][MINOR] Implement resovle-opts with 2 new options

2018-08-08 Thread Willy Tarreau
Hi Baptiste, On Wed, Aug 08, 2018 at 08:14:31PM +0200, Baptiste wrote: > Hi Willy, > > Could you please also backport those patches to 1.8? > Actually, 1.8 broke a haproxy's default behavior (when multiple servers > shares the same hostname) and that this patch helps fixing. > > here is the

Re: [PATCH][MINOR] Implement resovle-opts with 2 new options

2018-08-08 Thread Baptiste
Hi Willy, Could you please also backport those patches to 1.8? Actually, 1.8 broke a haproxy's default behavior (when multiple servers shares the same hostname) and that this patch helps fixing. here is the commit: 8e2d9430c0562ed74276d7f58e92706c384c0a36 Note the other patches have not been

Re: [PATCH][MINOR] Implement resovle-opts with 2 new options

2018-07-12 Thread Willy Tarreau
On Thu, Jul 12, 2018 at 05:10:49PM +0200, Baptiste wrote: > Hi all, > > This patch adds a new keyword "resolve-opts" which can take a list of comma > separated options. (...) applied, thank you Baptiste. Willy

[PATCH][MINOR] Implement resovle-opts with 2 new options

2018-07-12 Thread Baptiste
Hi all, This patch adds a new keyword "resolve-opts" which can take a list of comma separated options. 2 options have been implemented for now: * prevent-dup-ip: (default and historical way of working for HAProxy) ensure this server will be the single one configured to an IP address, when sharing