From what I see, that failover uses DNS. The endpoint stays same, but it&#x27;s pointed to new IP address or so...And the app may continue to use the cached IP from DNS query. I have to write a daemon to listen to RDS event and restart our app if it detects a failover event :(