News for hackers. Stuff that matters.
Re:How Dark Deploys Code in 50ms by sneak on Thursday July 11, 2019 @10:35AM (#20411801)
The browser does not try another IP if the request fails; it tries the first one only (the DNS server chooses a random order for the response), unless browsers have changed their behavior recently.

DNS round robin is not failover. If one of your four A records points to a dead box, 25% of your customers are SOL.

Re:How Dark Deploys Code in 50ms by duncaen on Thursday July 11, 2019 @05:32PM (#20416067)
https://en.wikipedia.org/wiki/Happy_Eyeballs

Browsers even try other IPs and alternate between IPv4 and IPv6 before the connection is established.

Re:How Dark Deploys Code in 50ms by sneak on Thursday July 11, 2019 @06:17PM (#20416409)
I know all about this, but most websites only support v4, and I don’t think this is used in any way for choosing which A record to use.
Re:How Dark Deploys Code in 50ms by duncaen on Friday July 12, 2019 @11:30AM (#20421426)
Most websites don't have redundant servers but its still there and used by a lot of big sites.

The whole point of it is to connect to multiple A and AAAA records with a very short delay (250ms in chrome). The browsers use poll to get notified about the first established connection and then use it. So if one A/AAAA records IP is unreachable or slow it will use a another one. There will be no fallout (except maybe for clients that don't use something like happy eyeballs, but any browser does that) if you have multiple A/AAAA records and one of them is down.

Re:How Dark Deploys Code in 50ms by z3t4 on Thursday July 11, 2019 @02:10PM (#20413891)
Its supported in IE, Chrome and Firefox, havent tried Safari and others. They will wait until timeout, then try the next IP. IE will give up if the second IP is down, while Firefox and Chrome will try many IPs