Hi there,
I’m looking for a solution for dynamically changing IP addresses behind hostnames.
Actual use case is the RDS in an AWS environment which due to maintenance sometimes gets a new IP address.
Now, it seems the forwarding of traffic seems to recognize the new IP address without restarting the HAProxy service - the health checks are not.
It seems health checks are using the IP address the first time the service starts up and resolves the hostnames - and that is not quite good of a health check…
DNS works fine in our system, IP address is being updated, but still the health check is looking into the old IP address causing the entry to go down and never come up again.
Is it possible to set a reset for the health check to periodically resolve the hostname again?
Or is the solution to not use health checks at all for hostnames that have dynamic IPs?
Thanks for the help!
PS: It’s about TCP traffic only… Maybe thats important, idk.
6 posts - 2 participants