RE: HAProxy failover - DNS change cached by IE for a long time

2017-07-08 Thread Norman Branitsky
Comments inline. From: Igor Cicimov [mailto:ig...@encompasscorporation.com] Sent: July-08-17 11:20 PM To: Norman Branitsky Cc: HAProxy Subject: RE: HAProxy failover - DNS change cached by IE for a long time Of course it can work see https://icicimov.github.io/blog/high-availability/Keepalived

RE: HAProxy failover - DNS change cached by IE for a long time

2017-07-08 Thread Igor Cicimov
r Cicimov [mailto:ig...@encompasscorporation.com] *Sent:* July-08-17 9:14 AM *To:* Norman Branitsky *Cc:* HAProxy *Subject:* RE: HAProxy failover - DNS change cached by IE for a long time On 8 Jul 2017 2:58 am, "Norman Branitsky" wrote: I changed the TTL on my application’s DNS entry,

RE: HAProxy failover - DNS change cached by IE for a long time

2017-07-08 Thread Norman Branitsky
...@encompasscorporation.com] Sent: July-08-17 9:14 AM To: Norman Branitsky Cc: HAProxy Subject: RE: HAProxy failover - DNS change cached by IE for a long time On 8 Jul 2017 2:58 am, "Norman Branitsky" mailto:norman.branit...@micropact.com>> wrote: I changed the TTL on my application’s

RE: HAProxy failover - DNS change cached by IE for a long time

2017-07-08 Thread Igor Cicimov
dnserror page – probably for 20 minutes. *From:* Norman Branitsky [mailto:norman.branit...@micropact.com] *Sent:* June-27-17 10:44 AM *To:* haproxy@formilux.org *Subject:* HAProxy failover - DNS change cached by IE for a long time This sender failed our fraud detection checks and may not be who

Re: HAProxy failover - DNS change cached by IE for a long time

2017-07-07 Thread Baptiste
Hi, Simply don't use DNS to switch from an HAProxy to an other one. Better to use a mechanism such as VRRP to move an IP address from a host to an other one: DNS does not need to be updated in such case. Keepalived on Linux may be used for this purpose. Baptiste

Re: HAProxy failover - DNS change cached by IE for a long time

2017-07-07 Thread Igor Cicimov
On 28 Jun 2017 12:45 am, "Norman Branitsky" wrote: Using the NS1 managed DNS service, I monitor the health of 2 HAProxy 1.7.7 servers defined as peers. Not related to the op but 1.7.8 got just released with some important fixes. NS1 checks the health of the HAProxy servers every 30 seconds. Th

RE: HAProxy failover - DNS change cached by IE for a long time

2017-07-07 Thread Norman Branitsky
tab continues to display the dnserror page - probably for 20 minutes. From: Norman Branitsky [mailto:norman.branit...@micropact.com] Sent: June-27-17 10:44 AM To: haproxy@formilux.org Subject: HAProxy failover - DNS change cached by IE for a long time This sender failed our fraud detection check

HAProxy failover - DNS change cached by IE for a long time

2017-06-27 Thread Norman Branitsky
Using the NS1 managed DNS service, I monitor the health of 2 HAProxy 1.7.7 servers defined as peers. NS1 checks the health of the HAProxy servers every 30 seconds. If haproxy1 fails to respond, NS1 changes the DNS response to point to haproxy2. When haproxy1 comes back online, NS1 reverts the DNS