Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Preserve DNS discovery backends when DNS fails and reloads

$
0
0

We are trying DNS recovery with TCP in HAPROXY 2.4.1, everything works supremely well other than an edge case.

Our cluster of HAPROXY config is written with API and reloads very often, for example 2000+ times a day.

HAPROXY queries the local DNS service configured within same server, when the DNS service fails, HAPROXY preserves the last valid responses it received until the next successful resolution (with help of hold valid and timeout resolve).

Now the problem is, when DNS service fails and HAPROXY reloads at the same time, servers configured on every backend goes out and this could cause a very big outage if happens in production.

Is there any option to preserve discovered backends across reloads and DNS failures? I tried init-addr last, but didn’t work.

Thanks for the great community support as always !

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>