3 ms·
Actually, DNS SRV entries do support port numbers (and transport layer!) https://en.wikipedia.org/wiki/SRV_record https://en.wikipedia.org/wiki/SRV_record It i
by kroltan 5y ago
Actually, DNS SRV entries do support port numbers (and transport layer!) https://en.wikipedia.org/wiki/SRV_record https://en.wikipedia.org/wiki/SRV_record
It is just a matter of specifying the use of such entries in the protocols (HTTP et al). A lot of new protocols already rely on them.
As someone who doesn't do much infra, I've encountered them when setting up the DNS for a Minecraft server. The game checks for the SRV record, or if it is missing, assumes (or reads from the user) a given port.