On Wed, Jun 9, 2010 at 12:57 PM, Mathieu Oudart <[email protected]> wrote: > Hi, > > i'm using haproxy to loadbalance web frontends on Amazon EC2. I use a server > line like : > serverĀ app1 frontend1.example.com:80 check inter 5000 > > Whenever I restart a frontend, it gets another IP so I update the > frontend1.example.com DNS record accordingly. > > The issue is that haproxy never detect the change. It keeps polling the old > IP and marks the server "down" until I manually reload the HAproxy service. > > Is there an option to handle that and detect the dynDNS change automatically > ? >
AFAIK, haproxy does any dns resolution once at start and never again -which is desirable, adding a dns lookup to each request would be very costly. > Thanks. > -- > Mathieu OUDART >

