Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They can help people put up to 65535 services on a single IP address rather than taking up a /16 of routable space through port numbers alone. Double that if you add UDP, and triple that if you can find that many services that can use SCTP.

You still need at least one IP address, but for services using hundreds of individual hosts the cost shouldn't rise too much this way.



What common applications commonly support SRV? I can't load a HTTPS in a modern web browser on a non-443 port without explicitly specifying it for example.


XMPP and Matrix do, at least. Office365 uses it for Lync I believe. Minecraft uses it too. Wikipedia has a short list: https://en.wikipedia.org/wiki/SRV_record

For HTTPS and such protocols, where the port number is hardcoded, you'll be out of luck with plain SRV.

SVCB and HTTPS records should allow for other ports to be used with modern HTTPS, though I haven't personally played around with those.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: