@timdollimore thank you for the reply.
Yes, something like that. Since I asked this here, I found some examples but I got a weird problem since the resolvers are setting my backend servers to MAINT.
I have created this post HaProxy 2.2.9: Resolvers setting status to maintenance but so far no help.
Thanks a lot