Quantcast
Viewing all articles
Browse latest Browse all 4733

HaProxy 2.2.9: Resolvers setting status to maintenance

Hi guys,

Aiming to solve the issue where Haproxy would only resolve the DNS during the startup instead of “on the run”, I created a new Google Cloud VM running HaProxy 2.2.9.

I did set the resolve block:

resolvers pc-dns
    nameserver pcdns     "Google Internal DNS Resolver IP"
    resolve_retries    30
    timeout retry	1s
    hold valid         5s

Then add at the of each backend server:
....... check port 80 inter 1s fall 1 rise 3 resolvers pc-dns

I have tried both:

resolvers  pc-dns
  nameserver dns1 "Google Internal DNS Resolver IP":53
  hold valid           5s

and

resolvers pc-dns
  parse-resolv-conf
  hold valid           10s

But I ended up with the same result. After 40s or so, the backend servers are set to MAINT.
But the servers are up and running Image may be NSFW.
Clik here to view.
:confused:

I appreciate any suggestion.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4733

Trending Articles



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