3 ms·
It can, with SRV records, which is what things like ActiveDirectory and XMPP use to discover the correct server and port for a given name. Its use for HTTP (an
by aaronmdjones 9y ago
It can, with SRV records, which is what things like ActiveDirectory and XMPP use to discover the correct server and port for a given name.
Its use for HTTP (and most other L7 protocols in general) just never really caught on.
- gaius 9y agoI believe Consul can do this and it's a pretty nice capability but the effort of retrofitting it onto things that just assume well known ports would be phenomenal. I mean even if you know you want http the "right" thing to do is look up the port number in /etc/services but who ever does that? We all just hardcode 80. So that's another potential technique that we can't use...