I am using haproxy version 1.6.3 and my server is defined using dns.
It is an ELB in amazon web services so it changes IP addresses frequently and 
that functionality seems to work fine. 

However, if I delete the DNS entry, the server is not marked down. It then 
keeps sending traffic to the IP address that existed before the DNS entry was 
deleted.

resolvers dns
    nameserver AmazonDNS 169.254.169.253:53
    hold valid 1s

frontend search
    bind :80
    default_backend blue

backend blue
    server blue elbname.amazon.net:80 resolvers dns check inter 1000



Reply via email to