SRV records are far superior - its a priority and weighted list of hosts for a protocol, which could really cut down on load balancing complexity.
SRV records are far superior - its a priority and weighted list of hosts for a protocol, which could really cut down on load balancing complexity.
The Mozilla Bug is old enough that it is a Mozilla bug (Firefox didn't exist when it was filed): https://bugzilla.mozilla.org/show_bug.cgi?id=14328
Chromium's bug is from 2009: https://bugs.chromium.org/p/chromium/issues/detail?id=22423 (which has some interesting comments regarding DNS fallback behavior and the latency penalties incurred)
[...] If host is a registered name, the registered name is an indirect identifier for use with a name resolution service, such as DNS, to find an address for that origin server.
[...]
When an "http" URI is used within a context that calls for access to the indicated resource, a client MAY attempt access by resolving the host to an IP address, establishing a TCP connection to that address on the indicated port, and sending an HTTP request message (Section 3) containing the URI's identifying data (Section 5) to the server.
I don't think that excludes SRV-based name resolution. Some sort of standardization of course would be helpful, even if just for reference, but that could in my mind be an independent document recommending to use SRV instead for HTTP, without any detail about the version (since HTTP 2 has no property that makes it more or less fit for use with SRV records than 1.1). Adding something that's totally unclear if it ever will see any use to HTTP2 just because seems worse.
I have written about this here before:
Also with software defined networking load balancing you can have one user facing ip be backed by many servers.
With SRV, you can set a priority, so it goes to a set of hosts first, then falls back.
You can also weight traffic so that some hosts get more than others.
(also host is actually an A (or AAAA) record - so it could have multiple values as well)
> Also with software defined networking load balancing you can have one user facing ip be backed by many servers.
Sure - but software defined (or normal) load balancing is usually inside the datacenter or region. Its another tier behind the DNS layer.