On Thu, Nov 28, 2019 at 10:56 AM Julien Pivotto <[email protected]> wrote:
> On 28 Nov 10:38, Baptiste wrote: > > 'hold valid' still prevents HAProxy from changing the status of the > server > > in current Valid status to an other status for that period of time. > > Imagine your server is UP, DNS is valid, then your server returns NX for > 2 > > minutes, then the status of the server won't change. If NX is returned > for > > more than 5 minutes (as stated in your config), then it will change. > > > > Baptiste > > That is really great. Does it mean that with > > hold valid 1h > timeout resolve 30s > > we can have: > 1h of DNS downtime without impact on haproxy > > but if DNS is up, any change will be picked after 30 seconds? > > yep exactly! Previous behavior was wrong (using hold valid as timeout resolve). Baptiste

